flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3636) NoClassDefFoundError while running WindowJoin example
Date Fri, 18 Mar 2016 10:59:33 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201314#comment-15201314
] 

Chesnay Schepler commented on FLINK-3636:
-----------------------------------------

the problem is that the the ThrottledIterator class is not included in the flink-examples-streaming
pom for the WIndowJoin jar.

> NoClassDefFoundError while running WindowJoin example
> -----------------------------------------------------
>
>                 Key: FLINK-3636
>                 URL: https://issues.apache.org/jira/browse/FLINK-3636
>             Project: Flink
>          Issue Type: Bug
>          Components: Examples, Streaming
>            Reporter: Zoltán Zvara
>
> Example ran with:
> {{bin/flink run examples/streaming/WindowJoin.jar}}
> or
> {{bin/flink run examples/streaming/WindowJoin.jar --windowSize 1000 --rate 2}}
> {code}
> ------------------------------------------------------------
>  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
> {code}
> Encountered after hand-building the current master.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message