Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-863

Potential deadlock in TestOverReplicatedBlocks

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

      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

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development