local web-client error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

local web-client error

Michele Bertoni
I think there is a problem with the web-client

Quite often I can use it for a single run and then it crash
especially if after seeing the graph i click back, on the second run i get a class not found exception

from terminal i have to stop and restart it and it works again


Michele
Reply | Threaded
Open this post in threaded view
|

Re: local web-client error

Maximilian Michels
Hi Michele,

Sorry to hear you are experiencing problems with the web client. Which version of Flink are you using?

Could you paste the whole error message you see? Thank you.

Best regards,
Max

On Sun, Jul 12, 2015 at 11:21 AM, Michele Bertoni <[hidden email]> wrote:
I think there is a problem with the web-client

Quite often I can use it for a single run and then it crash
especially if after seeing the graph i click back, on the second run i get a class not found exception

from terminal i have to stop and restart it and it works again


Michele

Reply | Threaded
Open this post in threaded view
|

Re: local web-client error

Michele Bertoni
Sure, this is it
Actually it usually happens when i see the graph, go back
change a little the program and recreate the package with maven (same name for the jar)
re-upload the package and try to re-start it

killing e restarting the web-client solve the problem


An error occurred while invoking the program:

The main method caused an error.


java.io.IOException: Class not found
	at com.esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.a(Unknown Source)
	at com.esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.apache.flink.api.scala.ClosureCleaner$.org$apache$flink$api$scala$ClosureCleaner$$getClassReader(ClosureCleaner.scala:42)
	at org.apache.flink.api.scala.ClosureCleaner$.getInnerClasses(ClosureCleaner.scala:90)
	at org.apache.flink.api.scala.ClosureCleaner$.clean(ClosureCleaner.scala:113)
	at org.apache.flink.api.scala.DataSet.clean(DataSet.scala:120)
	at org.apache.flink.api.scala.DataSet$$anon$6.<init>(DataSet.scala:437)
	at org.apache.flink.api.scala.DataSet.filter(DataSet.scala:436)
	at it.polimi.query.GSelect4$.binRegionsSelection(GSelect4.scala:104)
	at it.polimi.query.GSelect4$.apply(GSelect4.scala:59)
	at it.polimi.Main$.main(Main.scala:50)
	at it.polimi.Main.main(Main.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:437)
	at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:353)
	at org.apache.flink.client.program.Client.getOptimizedPlan(Client.java:229)
	at org.apache.flink.client.web.JobSubmissionServlet.doGet(JobSubmissionServlet.java:183)
	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:744)



Il giorno 13/lug/2015, alle ore 15:00, Maximilian Michels <[hidden email]> ha scritto:

Hi Michele,

Sorry to hear you are experiencing problems with the web client. Which version of Flink are you using?

Could you paste the whole error message you see? Thank you.

Best regards,
Max

On Sun, Jul 12, 2015 at 11:21 AM, Michele Bertoni <[hidden email]> wrote:
I think there is a problem with the web-client

Quite often I can use it for a single run and then it crash
especially if after seeing the graph i click back, on the second run i get a class not found exception

from terminal i have to stop and restart it and it works again


Michele