hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4747) AHS error 500 due to NPE when container start event is missing
Date Mon, 29 Feb 2016 21:43:18 GMT

    [ https://issues.apache.org/jira/browse/YARN-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172665#comment-15172665
] 

Jason Lowe commented on YARN-4747:
----------------------------------

Stacktrace:
{noformat}
2016-02-29 16:50:19,465 [1866296659@qtp-46415544-16798] ERROR webapp.AppBlock: Failed to read
the AM container of the application attempt appattempt_1455753632268_408876_000001.
java.lang.NullPointerException
	at org.apache.hadoop.yarn.proto.YarnProtos$NodeIdProto$Builder.setHost(YarnProtos.java:19772)
	at org.apache.hadoop.yarn.api.records.impl.pb.NodeIdPBImpl.setHost(NodeIdPBImpl.java:56)
	at org.apache.hadoop.yarn.api.records.NodeId.newInstance(NodeId.java:42)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerOnTimelineStore.convertToContainerReport(ApplicationHistoryManagerOnTimelineStore.java:529)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerOnTimelineStore.getContainer(ApplicationHistoryManagerOnTimelineStore.java:200)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryClientService.getContainerReport(ApplicationHistoryClientService.java:200)
	at org.apache.hadoop.yarn.server.webapp.AppBlock$3.run(AppBlock.java:249)
	at org.apache.hadoop.yarn.server.webapp.AppBlock$3.run(AppBlock.java:243)
	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:1679)
	at org.apache.hadoop.yarn.server.webapp.AppBlock.generateApplicationTable(AppBlock.java:242)
	at org.apache.hadoop.yarn.server.webapp.AppBlock.render(AppBlock.java:217)
	at org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:69)
	at org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:79)
	at org.apache.hadoop.yarn.webapp.View.render(View.java:235)
	at org.apache.hadoop.yarn.webapp.view.HtmlPage$Page.subView(HtmlPage.java:49)
	at org.apache.hadoop.yarn.webapp.hamlet.HamletImpl$EImp._v(HamletImpl.java:117)
	at org.apache.hadoop.yarn.webapp.hamlet.Hamlet$TD._(Hamlet.java:845)
	at org.apache.hadoop.yarn.webapp.view.TwoColumnLayout.render(TwoColumnLayout.java:71)
	at org.apache.hadoop.yarn.webapp.view.HtmlPage.render(HtmlPage.java:82)
	at org.apache.hadoop.yarn.webapp.Controller.render(Controller.java:212)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.AHSController.app(AHSController.java:38)
	at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
{noformat}

> AHS error 500 due to NPE when container start event is missing
> --------------------------------------------------------------
>
>                 Key: YARN-4747
>                 URL: https://issues.apache.org/jira/browse/YARN-4747
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>    Affects Versions: 2.7.2
>            Reporter: Jason Lowe
>
> Saw an error 500 due to a NullPointerException caused by a missing host for an AM container.
 Stacktrace to follow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message