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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.23.0
    • None
    • namenode, security
    • None

    Description

      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.

      Attachments

        Activity

          People

            atm Aaron Myers
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: