Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9958

Remove the invalid lock in ContainerExecutor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jiwq Wanqiang Ji
              jiwq Wanqiang Ji
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: