Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.23.1, 2.0.0-alpha
-
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.