You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2017/02/22 19:35:44 UTC
[jira] [Commented] (HDFS-8307) Spurious DNS Queries from hdfs shell
[ https://issues.apache.org/jira/browse/HDFS-8307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879047#comment-15879047 ]
Wei-Chiu Chuang commented on HDFS-8307:
---------------------------------------
If I understand the fix correctly, HDFS-9364 fixed the same issue, but it was not backported in branch-2.7.
> Spurious DNS Queries from hdfs shell
> ------------------------------------
>
> Key: HDFS-8307
> URL: https://issues.apache.org/jira/browse/HDFS-8307
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 2.7.1
> Reporter: Anu Engineer
> Assignee: Andres Perez
> Priority: Trivial
> Labels: ha
> Fix For: 2.7.4
>
> Attachments: HDFS-8307.001.patch, HDFS-8307-branch-2.7.patch
>
>
> 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:
> # Setup a HA cluster
> # Log on to any node
> # Run wireshark monitoring port 53 - "sudo tshark 'port 53'"
> # Run "sudo -u hdfs hdfs dfs -ls /"
> # You should be able to see DNS queries to mycluster.FQDN in wireshark
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org