Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4924

Race condition in re-init of TaskTracker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.18.3, 0.19.1
    • None
    • None
    • Reviewed

    Description

      The taskReportServer is stopped in the TaskTracker.close() method in a thread. The race condition is:
      1) TaskTracker.close() is invoked - this starts a thread to stop the taskReportServer
      2) TaskTracker.initialize is invoked - this tries to create a new taskReportServer
      Assume that the thread started to stop the taskReportServer gets to start its work after (2) above. The thread will end up stopping the newly created taskReportServer.

      Attachments

        1. 4924.patch
          1 kB
          Devaraj Das

        Activity

          People

            ddas Devaraj Das
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: