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
|