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

MiniMRCluster missing synchronization

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.2
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.hadoop.mapred.MiniMRCluster$TaskTrackerRunner contains (at least) 2 instance variables that are read by another thread: isInitialized and isDead. These should be declared volatile or proper synchronization should be used for their access.

        Attachments

        1. minimrcluster.patch
          0.8 kB
          Nigel Daley

          Activity

            People

            • Assignee:
              nidaley Nigel Daley
              Reporter:
              nidaley Nigel Daley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: