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

NoClassDefFoundError while running WindowJoin example

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Examples
    • None

    Description

      Example ran with:
      bin/flink run examples/streaming/WindowJoin.jar
      or
      bin/flink run examples/streaming/WindowJoin.jar --windowSize 1000 --rate 2

      ------------------------------------------------------------
       The program finished with the following exception:
      
      java.lang.NoClassDefFoundError: org/apache/flink/streaming/examples/utils/ThrottledIterator
      	at org.apache.flink.streaming.examples.join.WindowJoinSampleData$GradeSource.getSource(WindowJoinSampleData.java:65)
      	at org.apache.flink.streaming.examples.join.WindowJoin.main(WindowJoin.java:67)
      	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:497)
      	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:505)
      	at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:403)
      	at org.apache.flink.client.program.Client.runBlocking(Client.java:248)
      	at org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:866)
      	at org.apache.flink.client.CliFrontend.run(CliFrontend.java:333)
      	at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1189)
      	at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1239)
      Caused by: java.lang.ClassNotFoundException: org.apache.flink.streaming.examples.utils.ThrottledIterator
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 13 more
      

      Encountered after hand-building the current master.

      Attachments

        Activity

          People

            mbalassi Márton Balassi
            Ehnalis Zoltán Zvara
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: