[
https://issues.apache.org/jira/browse/YARN-9984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16977261#comment-16977261
]
Hudson commented on YARN-9984:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17662 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/17662/])
YARN-9984. FSPreemptionThread can cause NullPointerException while app (sunilg:
rev 215f2052fc3b7e366e8bd1bd332663966fa9206c)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSPreemptionThread.java
> FSPreemptionThread can cause NullPointerException while app is unregistered
> with containers running on a node
> -------------------------------------------------------------------------------------------------------------
>
> Key: YARN-9984
> URL: https://issues.apache.org/jira/browse/YARN-9984
> Project: Hadoop YARN
> Issue Type: Bug
> Components: fairscheduler
> Affects Versions: 3.0.0
> Reporter: Wilfred Spiegelenburg
> Assignee: Wilfred Spiegelenburg
> Priority: Major
> Fix For: 3.3.0, 3.2.2, 3.1.4
>
> Attachments: YARN-9984.001.patch
>
>
> When an application is unregistered there is a chance that there are still
> containers running on a node for that application. In all cases we handle the
> application missing from the RM gracefully (log a message and continue)
> except for the FS pre-emption thread.
> In case the application is removed but some containers are still linked to a
> node the FSPreemptionThread will crash with a NPE when it tries to retrieve
> the application id for the attempt:
> {code:java}
> FSAppAttempt app =
> scheduler.getSchedulerApp(container.getApplicationAttemptId());
> ApplicationId appId = app.getApplicationId();{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]