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

Potential deadlock in TestOverReplicatedBlocks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • test
    • None
    • 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. cycle.png
          37 kB
          Todd Lipcon
        2. HDFS-863.patch
          10 kB
          Ken Goodhope
        3. HDFS-863.patch
          9 kB
          Ken Goodhope
        4. HDFS-863.patch
          9 kB
          Ken Goodhope
        5. HDFS-863.patch
          3 kB
          Ken Goodhope
        6. TestNodeCount.png
          34 kB
          Todd Lipcon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: