hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wanqiang Ji (Jira)" <j...@apache.org>
Subject [jira] [Created] (YARN-9958) Remove the invalid lock in ContainerExecutor
Date Thu, 07 Nov 2019 11:03:00 GMT
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

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

View raw message