[
https://issues.apache.org/jira/browse/HDFS-17333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jian Zhang updated HDFS-17333:
------------------------------
Description:
Currently, when dfsclient is started, it will parse all hosts of all ns:
at DFSUtilClient#getAddresses(conf, null, addressKey)
at AbstractNNFailoverProxyProvider#getProxyAddresses(URI uri, String
addressKey)
If the current environment where the client is located causes resolution of
host->ip to be very slow, the existing logic will undoubtedly take a long time
when there are too many NSs.
This patch supports lazy resolution of host->ip, which will only be resolved
when the host needs to be accessed.
was:I will give a detailed description later.
> Support lazy resolve host->ip.
> ------------------------------
>
> Key: HDFS-17333
> URL: https://issues.apache.org/jira/browse/HDFS-17333
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jian Zhang
> Assignee: Jian Zhang
> Priority: Major
> Labels: pull-request-available
>
> Currently, when dfsclient is started, it will parse all hosts of all ns:
> at DFSUtilClient#getAddresses(conf, null, addressKey)
> at AbstractNNFailoverProxyProvider#getProxyAddresses(URI uri,
> String addressKey)
> If the current environment where the client is located causes resolution of
> host->ip to be very slow, the existing logic will undoubtedly take a long
> time when there are too many NSs.
> This patch supports lazy resolution of host->ip, which will only be resolved
> when the host needs to be accessed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]