flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chiwan Park (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1855) SocketTextStreamWordCount example cannot be run from the webclient
Date Mon, 04 May 2015 02:23:05 GMT

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

Chiwan Park commented on FLINK-1855:
------------------------------------

Because there is no `WordCount` class file in example jar, the problem occurs. I will fix
and send request.

Webclient Log:

{noformat}
09:42:59,210 WARN  org.eclipse.jetty.util.log                                    - Error for
/runJob
java.lang.NoClassDefFoundError: org/apache/flink/streaming/examples/wordcount/WordCount
	at java.lang.Class.getDeclaringClass0(Native Method)
	at java.lang.Class.getDeclaringClass(Class.java:1235)
	at java.lang.Class.getEnclosingClass(Class.java:1277)
	at java.lang.Class.getSimpleBinaryName(Class.java:1443)
	at java.lang.Class.getSimpleName(Class.java:1309)
	at org.apache.flink.streaming.api.graph.JSONGenerator.decorateNode(JSONGenerator.java:172)
	at org.apache.flink.streaming.api.graph.JSONGenerator.visit(JSONGenerator.java:69)
	at org.apache.flink.streaming.api.graph.JSONGenerator.visit(JSONGenerator.java:110)
	at org.apache.flink.streaming.api.graph.JSONGenerator.getJSON(JSONGenerator.java:55)
	at org.apache.flink.streaming.api.graph.StreamGraph.getStreamingPlanAsJSON(StreamGraph.java:411)
	at org.apache.flink.streaming.api.graph.StreamGraph.dumpStreamingPlanAsJSON(StreamGraph.java:426)
	at org.apache.flink.client.web.JobSubmissionServlet.doGet(JobSubmissionServlet.java:252)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:532)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:965)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:388)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:187)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:901)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
	at org.eclipse.jetty.server.Server.handle(Server.java:352)
	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:425)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:489)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.flink.streaming.examples.wordcount.WordCount
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 33 more
{noformat}

> SocketTextStreamWordCount example cannot be run from the webclient
> ------------------------------------------------------------------
>
>                 Key: FLINK-1855
>                 URL: https://issues.apache.org/jira/browse/FLINK-1855
>             Project: Flink
>          Issue Type: Bug
>          Components: Examples, Streaming, Webfrontend
>            Reporter: Gyula Fora
>            Assignee: Chiwan Park
>
> When trying to parameterize(with for instance "localhost 9999") the SocketTextStreamWordCount
streaming example from the webclient, I get the following error:
> HTTP ERROR: 500
> Problem accessing /runJob. Reason:
>     org/apache/flink/streaming/examples/wordcount/WordCount



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

Mime
View raw message