Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Intermittent issue : HTTP ERROR 500

Intermittent issue : HTTP ERROR 500

Explorer

Hi Team ,

            After upgrading to the below version . we are intermittelty getting the below error while accessing the application master url for a running job  ( the same job killed and resubmitted works fine and its random on multiple jobs).

 

$ 1 18:56:48 mastan@qat-hadoop-master00.app.qa.sjc.shn:~$ yarn version

Hadoop 2.6.0-cdh5.5.2

Subversion http://github.com/cloudera/hadoop -r 91e45acfc3e208d656c3ec1c1a0abe4a8de6ad4c

Compiled by jenkins on 2016-01-26T00:25Z

Compiled with protoc 2.5.0

 

Error is as below when we click on the Application master from the RM ui.

 

HTTP ERROR 500

 

Problem accessing /. Reason:

 

   No WebApplication provider is present

 

Caused by:

 

com.sun.jersey.api.container.ContainerException: No WebApplication provider is present

   at com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebApplicationFactory.java:69)

   at com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.java:391)

   at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.create(ServletContainer.java:306)

   at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:607)

   at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)

   at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373)

   at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:710)

   at com.google.inject.servlet.FilterDefinition.init(FilterDefinition.java:114)

   at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:98)

   at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:114)

   at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)

   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

   at org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1183)

   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

   at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)

   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)

   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)

   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)

   at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

   at org.mortbay.jetty.Server.handle(Server.java:326)

   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)

   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)

   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

   at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

 

Please help us debug this further.

 

Thanks,

Mastan

2 REPLIES 2

Re: Intermittent issue : HTTP ERROR 500

Explorer

Hi Team ,  Please let us know if you had seen any similar issues .I couldnt find one on the community.

 

Thanks,

Mastan

Highlighted

Re: Intermittent issue : HTTP ERROR 500

Master Guru
Could you pastebin the whole AM (ApplicationMaster) log from such a failing job you encounter?

Also, does this occur only on a specific set of your custom jobs or also on an included example job such as the PiEstimator/etc.?