hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Zhiguo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1801) NPE in public localizer
Date Thu, 22 May 2014 07:47:38 GMT

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

Hong Zhiguo updated YARN-1801:
------------------------------

    Attachment: YARN-1801.patch

{code}
Path local = completed.get();
{code}
may throw ExecutionException and assoc may be null.

When both of them happen, we got NPE in
{code}
LOG.info("Failed to download rsrc " + assoc.getResource(),
                  e.getCause());
{code}

And this is exactly the line "ResourceLocalizationService.java:712" of commit dd9c059 (2013-10-05
YARN-1254).

> NPE in public localizer
> -----------------------
>
>                 Key: YARN-1801
>                 URL: https://issues.apache.org/jira/browse/YARN-1801
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>    Affects Versions: 2.2.0
>            Reporter: Jason Lowe
>            Assignee: Hong Zhiguo
>            Priority: Critical
>         Attachments: YARN-1801.patch
>
>
> While investigating YARN-1800 found this in the NM logs that caused the public localizer
to shutdown:
> {noformat}
> 2014-01-23 01:26:38,655 INFO  localizer.ResourceLocalizationService (ResourceLocalizationService.java:addResource(651))
- Downloading public rsrc:{ hdfs://colo-2:8020/user/fertrist/oozie-oozi/0000601-140114233013619-oozie-oozi-W/aggregator--map-reduce/map-reduce-launcher.jar,
1390440382009, FILE, null }
> 2014-01-23 01:26:38,656 FATAL localizer.ResourceLocalizationService (ResourceLocalizationService.java:run(726))
- Error: Shutting down
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$PublicLocalizer.run(ResourceLocalizationService.java:712)
> 2014-01-23 01:26:38,656 INFO  localizer.ResourceLocalizationService (ResourceLocalizationService.java:run(728))
- Public cache exiting
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message