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 "Vrushali C (JIRA)" <ji...@apache.org> on 2017/11/20 20:06:00 UTC

[jira] [Commented] (YARN-7539) NullPointerException in timeline service v2

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

Vrushali C commented on YARN-7539:
----------------------------------


Hmm. Interesting..  And you saw this was thrown after the job has finished? Do you know what happens after this... Is the history file generated? Does the application show failed status or something else? 
Also, is the NPE printed once or many times? Basically wondering if the timeline collector is retrying or something and keeps throwing this error.

> NullPointerException in timeline service v2
> -------------------------------------------
>
>                 Key: YARN-7539
>                 URL: https://issues.apache.org/jira/browse/YARN-7539
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: Hadoop 3.1 (trunk)
> MIT Kerberos
> CentOS Linux release 7.0.1406
>            Reporter: Eric Yang
>
> Application submit through Docker YARN REST API is generating a null point exception after job has been finished.  In Resource Manager log file, we see this error:
> {code}
> 2017-11-20 18:41:46,395 ERROR org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Error when publishing entity TimelineEntity[type='YARN_CONTAINER', id='container_1511201172997_0003_01_000013']
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.putEntity(TimelineServiceV2Publisher.java:452)
> 	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.access$100(TimelineServiceV2Publisher.java:72)
> 	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2EventHandler.handle(TimelineServiceV2Publisher.java:484)
> 	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2EventHandler.handle(TimelineServiceV2Publisher.java:473)
> 	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:748)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org