Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.23.1, 2.0.0-alpha
    • 0.23.1
    • mrv2, nodemanager
    • None
    • Reviewed
    • Fixed a deadlock in NodeManager LocalDirectories's handling service.

    Description

      MAPREDUCE-3121 cloned Configuration object in LocalDirsHandlerService.init() to avoid others to access that configuration object. But since it is used in local FileSystem object creation in LocalDirAllocator.AllocatorPerContext and the same FileSystem object is used in ShuffleHandler.Shuffle.localDirAllocator, this is causing a deadlock when accessing this configuration object from LocalDirsHandlerService and ShuffleHandler along with AllocatorPerContext object.

      Attachments

        1. 3519.v1.patch
          3 kB
          Ravi Gummadi
        2. deadlock.txt
          7 kB
          Ravi Gummadi
        3. 3519.patch
          4 kB
          Ravi Gummadi

        Activity

          People

            ravidotg Ravi Gummadi
            ravidotg Ravi Gummadi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: