Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12437

Allow SecurityUtil to lookup alternate hostnames

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: net, security
    • Labels:
      None
    • Environment:

      multi-homed

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      HADOOP-12437 introduces two new configuration settings: hadoop.security.dns.interface and hadoop.security.dns.nameserver. These settings can be used to control how Hadoop service instances look up their own hostname and may be required in some multi-homed environments where hosts are configured with multiple hostnames in DNS or hosts files. They supersede the existing settings dfs.datanode.dns.interface and dfs.datanode.dns.nameserver.
      Show
      HADOOP-12437 introduces two new configuration settings: hadoop.security.dns.interface and hadoop.security.dns.nameserver. These settings can be used to control how Hadoop service instances look up their own hostname and may be required in some multi-homed environments where hosts are configured with multiple hostnames in DNS or hosts files. They supersede the existing settings dfs.datanode.dns.interface and dfs.datanode.dns.nameserver.

      Description

      The configuration setting dfs.datanode.dns.interface lets the DataNode select its hostname by doing a reverse lookup of IP addresses on the specific network interface. This does not work when /etc/hosts is used to setup alternate hostnames, since DNS#reverseDns only queries the DNS servers.

        Attachments

        1. HADOOP-12437.04.patch
          24 kB
          Arpit Agarwal
        2. HADOOP-12437.05.patch
          24 kB
          Arpit Agarwal
        3. HDFS-9109.01.patch
          14 kB
          Arpit Agarwal
        4. HDFS-9109.02.patch
          14 kB
          Arpit Agarwal
        5. HDFS-9109.03.patch
          16 kB
          Arpit Agarwal

          Issue Links

            Activity

              People

              • Assignee:
                arpitagarwal Arpit Agarwal
                Reporter:
                arpitagarwal Arpit Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: