[
https://issues.apache.org/jira/browse/YARN-8649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16588306#comment-16588306
]
lujie commented on YARN-8649:
-----------------------------
Hi [~jlowe]:
# In the new patch, I let the "getPathForLocalization" return null if "rsrc ==
null"(there are also a log statement to indicate why return null).
# In the "processHeartbeat" and "addResource" who use the return value of
"getPathForLocalization" , I add the null check. The null checker can prevent
the unnecessary download!
> Similar as YARN-4355:NPE while processing localizer heartbeat
> -------------------------------------------------------------
>
> Key: YARN-8649
> URL: https://issues.apache.org/jira/browse/YARN-8649
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 3.1.1
> Reporter: lujie
> Assignee: lujie
> Priority: Major
> Attachments: YARN-8649.patch, YARN-8649_2.patch,
> hadoop-hires-nodemanager-hadoop11.log
>
>
> I have noticed that a nodemanager was getting NPEs while tearing down. The
> reason maybe similar to YARN-4355 which is reported by [# Jason Lowe].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]