You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Wanqiang Ji (Jira)" <ji...@apache.org> on 2019/11/07 11:03:00 UTC

[jira] [Created] (YARN-9958) Remove the invalid lock in ContainerExecutor

Wanqiang Ji created YARN-9958:
---------------------------------

             Summary: Remove the invalid lock in ContainerExecutor
                 Key: YARN-9958
                 URL: https://issues.apache.org/jira/browse/YARN-9958
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Wanqiang Ji
            Assignee: Wanqiang Ji


ContainerExecutor has ReadLock and WriteLock. These used to call get/put method of ConcurrentMap. Due to the ConcurrentMap providing thread safety and atomicity guarantees, so we can remove the lock.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org