Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-863

Potential deadlock in TestOverReplicatedBlocks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestOverReplicatedBlocks.testProcesOverReplicateBlock synchronizes on namesystem.heartbeats without synchronizing on namesystem first. Other places in the code synchronize namesystem, then heartbeats. It's probably unlikely to occur in this test case, but it's a simple fix.

        Attachments

        1. TestNodeCount.png
          34 kB
          Todd Lipcon
        2. HDFS-863.patch
          3 kB
          Ken Goodhope
        3. HDFS-863.patch
          9 kB
          Ken Goodhope
        4. HDFS-863.patch
          9 kB
          Ken Goodhope
        5. HDFS-863.patch
          10 kB
          Ken Goodhope
        6. cycle.png
          37 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              kengoodhope Ken Goodhope
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: