The NN should determine its own hostname using the same method as the DN
------------------------------------------------------------------------

                 Key: HDFS-2193
                 URL: https://issues.apache.org/jira/browse/HDFS-2193
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node, security
    Affects Versions: 0.23.0
            Reporter: Aaron T. Myers
            Assignee: Aaron T. Myers


When the "{{_HOST}}" replacement feature of Kerberos principal names is used, 
the various Hadoop daemons must determine their own canonical hostname in order 
to form their principal name.

Presently, the NN determines its own hostname based on the configured value of 
"{{fs.default.name}}", whereas the DNs determine their hostnames based on the 
result of "{{InetAddress.getLocalHost().getCanonicalHostName()}}". This 
asymmetry can cause confusion during configuration of a secure cluster.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to