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: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to