[
https://issues.apache.org/jira/browse/YARN-11771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Doe updated YARN-11771:
----------------------------
Description: In `ResourceManager`, although we check if
`startActiveServices` is `null` before starting it, it still can be set as
`null` between the checking and using. (was: In `CommonNodeLabelsManager`,
`serviceInit` can set `nodeLabelsEnabled` to false and cause exception and
error log in `addLabelsToNode` and ``removeLabelsToNode``.)
> TOCTOU of activeServices in ResourceManager
> -------------------------------------------
>
> Key: YARN-11771
> URL: https://issues.apache.org/jira/browse/YARN-11771
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 3.4.1
> Reporter: John Doe
> Priority: Major
>
> In `ResourceManager`, although we check if `startActiveServices` is `null`
> before starting it, it still can be set as `null` between the checking and
> using.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]