You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Zac Zhou (JIRA)" <ji...@apache.org> on 2019/01/08 12:44:00 UTC

[jira] [Created] (YARN-9185) TimelineServiceV2Publisher throws NPE when app is finished before container metrics updated

Zac Zhou created YARN-9185:
------------------------------

             Summary: 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: Bug
            Reporter: Zac Zhou
            Assignee: Zac Zhou


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org