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

Move DatanodeInfo#hostName to DatanodeID

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha
    • datanode
    • None
    • Incompatible change, Reviewed
    • This change modifies DatanodeID, which is part of the client to server protocol, therefore clients must be upgraded with servers.

    Description

      Like HDFS-3138 (the ipcPort) the hostName field in DatanodeInfo is not ephemeral and should be in DatanodeID. This also allows us to fixup the issue where the DatanodeID#name field is overloaded (the DN sets it to a hostname, then the NN clobbers it with an IP, and then the DN clobbers it's hostname field with this IP). If the DN can specify both a "name" and "hostname" in the DatanodeID then this code becomes simpler.

      Attachments

        1. hdfs-3164.txt
          36 kB
          Eli Collins
        2. hdfs-3164.txt
          33 kB
          Eli Collins

        Issue Links

          Activity

            People

              eli Eli Collins
              eli2 Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: