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

TaskTracker directoryCleanupThread never gets terminated

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When a task tracker starts its work it calls startCleanupThreads() to create a directoryCleanupThread.

      only, that thread is never terminated; it runs for the life of the process.

      It should be terminated when the TaskTracker itself is terminated, presumably after it has done the last cleanup.

        Activity

        Hide
        steve_l added a comment -

        Same for taskCleanupThread

        Show
        steve_l added a comment - Same for taskCleanupThread
        Hide
        steve_l added a comment -

        One aspect of the taskCleanupThread is that it holds an implicit reference to the TaskThread, so until the TaskCleanupThread is terminated, the TaskTracker and its memory will be retained.

        Show
        steve_l added a comment - One aspect of the taskCleanupThread is that it holds an implicit reference to the TaskThread, so until the TaskCleanupThread is terminated, the TaskTracker and its memory will be retained.
        Hide
        Allen Wittenauer added a comment -

        Probably stale. closing.

        Show
        Allen Wittenauer added a comment - Probably stale. closing.

          People

          • Assignee:
            Unassigned
            Reporter:
            Steve Loughran
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development