[
https://issues.apache.org/jira/browse/YARN-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091539#comment-15091539
]
Varun Saxena commented on YARN-4355:
------------------------------------
In the patch I have introduced a null check wherever required. On next HB,
nodemanager will issue a DIE.
Did not make the methods or code blocks synchronized to avoid race because this
should happen only in rare scenarios.
> NPE while processing localizer heartbeat
> ----------------------------------------
>
> Key: YARN-4355
> URL: https://issues.apache.org/jira/browse/YARN-4355
> Project: Hadoop YARN
> Issue Type: Bug
> Components: nodemanager
> Affects Versions: 2.7.2
> Reporter: Jason Lowe
> Assignee: Varun Saxena
> Attachments: YARN-4355.01.patch
>
>
> While analyzing YARN-4354 I noticed a nodemanager was getting NPEs while
> processing a private localizer heartbeat. I think there's a race where we
> can cleanup resources for an application and therefore remove the app local
> resource tracker just as we are trying to handle the localizer heartbeat.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)