[ 
https://issues.apache.org/jira/browse/HDFS-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Chen updated HDFS-9364:
----------------------------
    Attachment: HDFS-9364.001.patch

Patch 001 fixes the unnecessary DNS resolution by checking against configured 
service name. Added a test similar to what HADOOP-9150 did to guarantee the URI 
is not DNS-resolved.
The original {{DFSUtilClient#getNNAddress(URI)}} is untouched, given that: 1. 
It's public; 2. We need configuration to check URI logicality.

> Unnecessary DNS resolution attempts when NameNodeProxies
> --------------------------------------------------------
>
>                 Key: HDFS-9364
>                 URL: https://issues.apache.org/jira/browse/HDFS-9364
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HDFS-9364.001.patch
>
>
> When creating NameNodeProxies, we always try to DNS-resolve namenode URIs. 
> This is unnecessary if the URI is logical, and may be significantly slow if 
> the DNS is having problems. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to