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

Spurious DNS Queries from hdfs shell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.7.1
    • 2.7.4
    • hdfs-client
    • Reviewed

    Description

      With HA configured the hdfs shell (org.apache.hadoop.fs.FsShell) seems to issue a DNS query for the cluster Name. if fs.defaultFS is set to hdfs://mycluster, then the shell seems to issue a DNS query for mycluster.FQDN or mycluster.

      since mycluster not a machine name DNS query always fails with
      "DNS 85 Standard query response 0x2aeb No such name"

      Repro Steps:

      1. Setup a HA cluster
      2. Log on to any node
      3. Run wireshark monitoring port 53 - "sudo tshark 'port 53'"
      4. Run "sudo -u hdfs hdfs dfs -ls /"
      5. You should be able to see DNS queries to mycluster.FQDN in wireshark

      Attachments

        1. HDFS-8307-branch-2.7.patch
          1 kB
          Andres Perez
        2. HDFS-8307.001.patch
          1 kB
          Anu Engineer

        Issue Links

          Activity

            People

              aaperezl Andres Perez
              aengineer Anu Engineer
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: