flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Pompermaier <pomperma...@okkam.it>
Subject Error running an hadoop job from web interface
Date Fri, 23 Oct 2015 12:45:54 GMT
Hi to all,
I'm trying to run a job from the web interface but I get this error:

java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry
core-site.xml not found in /tmp/webclient-jobs/EntitonsJsonizer.jar
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2334)
	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2187)
	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2104)
	at org.apache.hadoop.conf.Configuration.get(Configuration.java:853)
	at org.apache.hadoop.mapred.JobConf.checkAndWarnDeprecation(JobConf.java:2088)
	at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:446)
	at org.apache.hadoop.mapreduce.Job.getInstance(Job.java:175)
	at org.apache.hadoop.mapreduce.Job.getInstance(Job.java:156)
	at it.okkam.flink.entitons.io.utils.ParquetThriftEntitons.readEntitons(ParquetThriftEntitons.java:42)
	at it.okkam.flink.entitons.io.utils.ParquetThriftEntitons.readEntitonsWithId(ParquetThriftEntitons.java:73)
	at org.okkam.entitons.EntitonsJsonizer.readAtomQuads(EntitonsJsonizer.java:235)
	at org.okkam.entitons.EntitonsJsonizer.main(EntitonsJsonizer.java:119)
	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:497)
	at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:395)
	at org.apache.flink.client.program.OptimizerPlanEnvironment.getOptimizedPlan(OptimizerPlanEnvironment.java:80)
	at org.apache.flink.client.program.Client.getOptimizedPlan(Client.java:220)
	at org.apache.flink.client.CliFrontend.info(CliFrontend.java:412)
	at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:977)
	at org.apache.flink.client.web.JobSubmissionServlet.doGet(JobSubmissionServlet.java:171)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	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.io.FileNotFoundException: JAR entry core-site.xml not
found in /tmp/webclient-jobs/EntitonsJsonizer.jar
	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140)
	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
	at java.net.URL.openStream(URL.java:1037)
	at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2163)
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2234)



I checked the jar and it contains the core-site.xml file..Am I forced to
configure the hadoop classpath in my Flink cluster config files?

Best,
Flavio

Mime
View raw message