Reply
Explorer
Posts: 8
Registered: ‎07-18-2016

FileNotFoundException: /tmp/Jetty_mapreduce____4f5k15/webapp/webapps/mapreduce/.keep

Hi,

 

When we ran the hive query, we got Jetty_0_0_0_0_854783_mapreduce error message in first time. It went well in second ran.

 

Please find the full error message from yarn logs.

 

2017-10-05 16:17:26,168 INFO [main] org.mortbay.log: Started HttpServer2$SelectChannelConnectorWithSafeStartup@0.0.0.0:38313
2017-10-05 16:17:26,168 INFO [main] org.mortbay.log: Stopped HttpServer2$SelectChannelConnectorWithSafeStartup@0.0.0.0:38313
2017-10-05 16:17:26,170 WARN [953528583@qtp-1803890702-1 - Acceptor0 HttpServer2$SelectChannelConnectorWithSafeStartup@0.0.0.0:38313] org.apache.hadoop.http.HttpServer2: HttpServer Acceptor: isRunning is false. Rechecking.
2017-10-05 16:17:26,175 WARN [953528583@qtp-1803890702-1 - Acceptor0 HttpServer2$SelectChannelConnectorWithSafeStartup@0.0.0.0:38313] org.apache.hadoop.http.HttpServer2: HttpServer Acceptor: isRunning is false
2017-10-05 16:17:26,278 ERROR [main] org.apache.hadoop.mapreduce.v2.app.client.MRClientService: Webapps failed to start. Ignoring for now:
org.apache.hadoop.yarn.webapp.WebAppException: Error starting http server
at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:278)
at org.apache.hadoop.mapreduce.v2.app.client.MRClientService.serviceStart(MRClientService.java:142)
at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStart(MRAppMaster.java:1084)
at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$4.run(MRAppMaster.java:1500)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:1496)
at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1429)
Caused by: java.io.IOException: Unable to initialize WebAppContext
at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:851)
at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:273)
... 10 more
Caused by: java.io.FileNotFoundException: /tmp/Jetty_0_0_0_0_38313_mapreduce____4f5k15/webapp/webapps/mapreduce/.keep (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.mortbay.resource.JarResource.extract(JarResource.java:215)

 

Any idea how to avoid these errors

 

Thanks

Srinivas

Explorer
Posts: 8
Registered: ‎07-18-2016

Re: FileNotFoundException: /tmp/Jetty_mapreduce____4f5k15/webapp/webapps/mapreduce/.keep

[ Edited ]

I am running this hive queries through oozie scheduler. I hope that there is an bug hadoop mapreduce.

 

https://issues.apache.org/jira/browse/MAPREDUCE-5397.

 

Any work around to fix this issue.

 

 

 

Announcements