Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16227

Streaming bucketing end-to-end test NoClassDefFoundError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 1.11.0
    • None
    • API / DataStream, Tests

    Description

      This nightly cron job has failed: https://travis-ci.org/apache/flink/jobs/653454540

      ==============================================================================
      Running 'Streaming bucketing end-to-end test'
      ==============================================================================
      TEST_DATA_DIR: /home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/temp-test-directory-05739414867
      Flink dist directory: /home/travis/build/apache/flink/flink-dist/target/flink-1.11-SNAPSHOT-bin/flink-1.11-SNAPSHOT
      Setting up SSL with: internal JDK dynamic
      Using SAN dns:travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7,ip:10.20.0.145,ip:172.17.0.1
      Certificate was added to keystore
      Certificate was added to keystore
      Certificate reply was installed in keystore
      MAC verified OK
      Setting up SSL with: rest JDK dynamic
      Using SAN dns:travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7,ip:10.20.0.145,ip:172.17.0.1
      Certificate was added to keystore
      Certificate was added to keystore
      Certificate reply was installed in keystore
      MAC verified OK
      Mutual ssl auth: false
      Starting cluster.
      Starting standalonesession daemon on host travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      Starting taskexecutor daemon on host travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      Waiting for Dispatcher REST endpoint to come up...
      Waiting for Dispatcher REST endpoint to come up...
      Waiting for Dispatcher REST endpoint to come up...
      Waiting for Dispatcher REST endpoint to come up...
      Waiting for Dispatcher REST endpoint to come up...
      Dispatcher REST endpoint is up.
      [INFO] 1 instance(s) of taskexecutor are already running on travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      Starting taskexecutor daemon on host travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      [INFO] 2 instance(s) of taskexecutor are already running on travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      Starting taskexecutor daemon on host travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      [INFO] 3 instance(s) of taskexecutor are already running on travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      Starting taskexecutor daemon on host travis-job-b9e26d64-0a62-42c7-9802-6c49defb4ad7.
      Number of running task managers 1 is not yet 4.
      Number of running task managers 2 is not yet 4.
      Number of running task managers has reached 4.
      java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
      	at java.lang.Class.getDeclaredMethods0(Native Method)
      	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      	at java.lang.Class.getDeclaredMethod(Class.java:2128)
      	at org.apache.flink.api.java.ClosureCleaner.usesCustomSerialization(ClosureCleaner.java:164)
      	at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:89)
      	at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:71)
      	at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.clean(StreamExecutionEnvironment.java:1820)
      	at org.apache.flink.streaming.api.datastream.DataStream.clean(DataStream.java:188)
      	at org.apache.flink.streaming.api.datastream.DataStream.addSink(DataStream.java:1328)
      	at org.apache.flink.streaming.tests.BucketingSinkTestProgram.main(BucketingSinkTestProgram.java:84)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:321)
      	at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:205)
      	at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:138)
      	at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:664)
      	at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:213)
      	at org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:895)
      	at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:968)
      	at org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30)
      	at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:968)
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
      	at org.apache.flink.util.ChildFirstClassLoader.loadClass(ChildFirstClassLoader.java:60)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
      	... 23 more
      Job () is running.
      Waiting for job () to have at least 5 completed checkpoints ...
      No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
      Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
      The build has been terminated
      

      Attachments

        Issue Links

          Activity

            People

              rmetzger Robert Metzger
              rmetzger Robert Metzger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: