You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zac Zhou (JIRA)" <ji...@apache.org> on 2019/01/08 12:48:00 UTC
[jira] [Commented] (YARN-9185) TimelineServiceV2Publisher throws
NPE when app is finished before container metrics updated
[ https://issues.apache.org/jira/browse/YARN-9185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737091#comment-16737091 ]
Zac Zhou commented on YARN-9185:
--------------------------------
When the following configuration is specified:
<property>
<name>yarn.timeline-service.generic-application-history.save-non-am-container-meta-info</name>
<value>false</value>
</property>
The NPE doesn't occur.
> TimelineServiceV2Publisher throws NPE when app is finished before container metrics updated
> -------------------------------------------------------------------------------------------
>
> Key: YARN-9185
> URL: https://issues.apache.org/jira/browse/YARN-9185
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Zac Zhou
> Assignee: Zac Zhou
> Priority: Major
>
> When the dominant component feature is enabled. Resourcemanager throws NPE after the app is finished.
> The stack is as follows:
> 2019-01-08 19:54:48,788 FATAL org.apache.hadoop.yarn.event.AsyncDispatcher: Error in dispatcher thread
> java.lang.NullPointerException
> at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.putEntity(Timel
> ineServiceV2Publisher.java:459)
> at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.access$100(Time
> lineServiceV2Publisher.java:73)
> at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2Event
> Handler.handle(TimelineServiceV2Publisher.java:494)
> at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2Event
> Handler.handle(TimelineServiceV2Publisher.java:483)
> at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:197)
> at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:126)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org