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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.3-alpha, 0.23.5
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              jlowe Jason Darrell Lowe
              eli2 Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: