hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (YARN-6827) [ATS1/1.5] NPE exception while publishing recovering applications into ATS during RM restart.
Date Sat, 15 Jul 2017 05:19:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-6827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Rohith Sharma K S reassigned YARN-6827:

    Assignee: Rohith Sharma K S

> [ATS1/1.5] NPE exception while publishing recovering applications into ATS during RM
> ---------------------------------------------------------------------------------------------
>                 Key: YARN-6827
>                 URL: https://issues.apache.org/jira/browse/YARN-6827
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
> While recovering application, it is observed that NPE exception is thrown as below.
> {noformat}
> 017-07-13 14:08:12,476 ERROR org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV1Publisher:
Error when publishing entity [YARN_APPLICATION,application_1499929227397_0001]
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.putEntities(TimelineClientImpl.java:178)
> 	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV1Publisher.putEntity(TimelineServiceV1Publisher.java:368)
> {noformat}
> This is because in RM service creation, active services are created first and later ATS
services are created. It means active services are started and ATS services are started later
point of time. 
> This gives sufficient time to active services recover the applications which tries to
publish into ATS while recovering. Since ATS services are not started yet, it throws NPE.

This message was sent by Atlassian JIRA

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

View raw message