Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3862

Nodemanager can appear to hang on shutdown due to lingering DeletionService threads

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1
    • Fix Version/s: 0.23.2
    • Component/s: mrv2, nodemanager
    • Labels:
      None

      Description

      When a nodemanager attempts to shutdown cleanly, it's possible for it to appear to hang due to lingering DeletionService threads. This can occur when yarn.nodemanager.delete.debug-delay-sec is set to a relatively large value and one or more containers executes on the node shortly before the shutdown.

      The DeletionService is never calling setExecuteExistingDelayedTasksAfterShutdownPolicy() on the ScheduledThreadPoolExecutor, and it defaults to waiting for all scheduled tasks to complete before exiting.

      1. MAPREDUCE-3862.patch
        5 kB
        Jason Lowe
      2. MAPREDUCE-3862.patch
        4 kB
        Jason Lowe

        Issue Links

          Activity

            People

            • Assignee:
              Jason Lowe
              Reporter:
              Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development