hadoop - Resource Manager UI is throwing 500 Internal server Error -
i have cluster 1 master , 1 slave. cluster working fine , started following error due resource manager ui not loading up:
http error 500 problem accessing /cluster. reason: internal_server_error caused by: java.lang.nullpointerexception @ org.apache.http.client.utils.urlencodedutils.parse(urlencodedutils.java:235) @ org.apache.hadoop.security.token.delegation.web.servletutils.getparameter(servletutils.java:48) @ org.apache.hadoop.security.token.delegation.web.delegationtokenauthenticationhandler.managementoperation(delegationtokenauthenticationhandler.java:170) @ org.apache.hadoop.security.authentication.server.authenticationfilter.dofilter(authenticationfilter.java:502) @ org.apache.hadoop.yarn.server.security.http.rmauthenticationfilter.dofilter(rmauthenticationfilter.java:84) @ org.mortbay.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1212) @ org.apache.hadoop.http.httpserver2$quotinginputfilter.dofilter(httpserver2.java:1224) @ org.mortbay.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1212) @ org.apache.hadoop.http.nocachefilter.dofilter(nocachefilter.java:45) @ org.mortbay.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1212) @ org.apache.hadoop.http.nocachefilter.dofilter(nocachefilter.java:45) @ org.mortbay.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1212) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:399) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:182) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:766) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:450) @ org.mortbay.jetty.handler.contexthandlercollection.handle(contexthandlercollection.java:230) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:326) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:542) @ org.mortbay.jetty.httpconnection$requesthandler.headercomplete(httpconnection.java:928) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:549) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:212) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:404) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:410) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:582)
if try check daemons running, can see rm daemon running per:
[hadoop@cluster-test hadoop]$ jps 22263 jps 21549 namenode 21888 resourcemanager 21733 secondarynamenode
i got following error logs in rm logs these error not pop often. not sure if these issues related. thought of sharing here might helpful people may take @ question:
2016-07-05 17:41:49,878 error org.apache.hadoop.yarn.server.resourcemanager.resourcemanager: received signal 15: sigterm 2016-07-05 17:41:49,884 error org.apache.hadoop.security.token.delegation.abstractdelegationtokensecretmanager : expiredtokenremover received java.lang.interruptedexception: sleep interrupted
i using following hadoop version:
hadoop 2.6.0 subversion https://git-wip-us.apache.org/repos/asf/hadoop.git -r e3496499ecb8d220fba99dc5ed4c99c8f9e33bb1 compiled jenkins on 2014-11-13t21:10z compiled protoc 2.5.0
please have been stuck quite long time , not able google.
any appreciated!
i met similar problem. reason may bug in httpclient jar within hadoop/share/hadoop/common/lib.in case, accidentally put higher version of httpclient within directory happened buggy httpclient.
check following jira more info: https://issues.apache.org/jira/browse/hadoop-13215
Comments
Post a Comment