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

If the include hosts list contains host name, after restarting namenode, datanodes registrant is denied

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • namenode
    • None

    Description

      As the title describes the problem: if the include host list contains host name, after restarting namenodes, the datanodes registrant is denied by namenodes. This is because after namenode is restarted, the still alive data node will try to register itself with the namenode and it identifies itself with its IP address. However, namenode only allows all the hosts in its hosts list to registrant and all of them are hostnames. So namenode would deny the datanode registration.

      Attachments

        1. HDFS-2086.patch
          10 kB
          Tanping Wang
        2. HDFS-2086.7.patch
          9 kB
          Tanping Wang
        3. HDFS-2086.6.patch
          9 kB
          Tanping Wang
        4. HDFS-2086.5.patch
          10 kB
          Tanping Wang
        5. HDFS-2086.4.patch
          11 kB
          Tanping Wang
        6. HDFS-2086.3.patch
          10 kB
          Tanping Wang
        7. HDFS-2086.2.patch
          10 kB
          Tanping Wang

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tanping Tanping Wang
            tanping Tanping Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment