Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3224

Bug in check for DN re-registration with different storage ID

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3-alpha, 0.23.5
    • Component/s: None
    • Labels:
      None

      Description

      DatanodeManager#registerDatanode checks the host to node map using an IP:port key, however the map is keyed on IP, so this check will always fail. It's performing the check to determine if a DN with the same IP and storage ID has already registered, and if so to remove this DN from the map and indicate that eg it's no longer hosting these blocks. This bug has been here forever.

      1. HDFS-3224.patch
        2 kB
        Jason Lowe
      2. HDFS-3224.patch
        6 kB
        Jason Lowe
      3. HDFS-3224.patch
        6 kB
        Jason Lowe
      4. HDFS-3224.patch
        6 kB
        Jason Lowe
      5. HDFS-3224-branch0.23.patch
        4 kB
        Jason Lowe

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Jason Lowe
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development