John Doe created YARN-11860:
-------------------------------
Summary: NullPointerException risk due to map remove-then-get
Key: YARN-11860
URL: https://issues.apache.org/jira/browse/YARN-11860
Project: Hadoop YARN
Issue Type: Bug
Reporter: John Doe
{{preemptionContainerMap}} is accessed with {{containsKey()}} followed by
{{get()}} and {{{}remove(){}}}. Concurrently executing this twice can cause the
removal to make {{get()}} to return {{{}null{}}}, leading to
{{{}NullPointerException{}}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]