You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/13 17:04:00 UTC
[jira] [Closed] (HBASE-6387) Cache DNS lookups in HServerAddress
[ https://issues.apache.org/jira/browse/HBASE-6387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-6387.
--------------------------------------
> Cache DNS lookups in HServerAddress
> -----------------------------------
>
> Key: HBASE-6387
> URL: https://issues.apache.org/jira/browse/HBASE-6387
> Project: HBase
> Issue Type: Improvement
> Reporter: Mikhail Gryzykhin
> Priority: Major
>
> We have noticed that we rely on DNS lookups in some critical paths by using HServerAddress, and Java only seems to be caching DNS data for 30 seconds by default. Also, if DNS is down, Java's negative cache of DNS will ensure that many successive attempts fail. However, we cannot just increase networkaddress.cache.ttl to a large value, because e.g. namenode failover may require resolving the same DNS name differently. Therefore I propose that we add a DNS lookup cache in HServerAddress.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)