You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "George Cao (JIRA)" <ji...@apache.org> on 2013/03/14 06:04:14 UTC
[jira] [Updated] (ZOOKEEPER-1666) Avoid Reverse DNS lookup if the
hostname in connection string is literal IP address.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Cao updated ZOOKEEPER-1666:
----------------------------------
Description:
In our ENV, if the InetSocketAddress.getHostName() is called and the host name in the connection string are literal IP address, then the call will trigger a reverse DNS lookup which is very slow.
And in this situation, the host name can simply set as the IP without causing any problem.
> Avoid Reverse DNS lookup if the hostname in connection string is literal IP address.
> ------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1666
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1666
> Project: ZooKeeper
> Issue Type: Improvement
> Components: java client
> Reporter: George Cao
>
> In our ENV, if the InetSocketAddress.getHostName() is called and the host name in the connection string are literal IP address, then the call will trigger a reverse DNS lookup which is very slow.
> And in this situation, the host name can simply set as the IP without causing any problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira