zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1666) Avoid Reverse DNS lookup if the hostname in connection string is literal IP address.
Date Tue, 05 Nov 2013 11:09:18 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813849#comment-13813849
] 

Hudson commented on ZOOKEEPER-1666:
-----------------------------------

SUCCESS: Integrated in ZooKeeper-trunk #2111 (See [https://builds.apache.org/job/ZooKeeper-trunk/2111/])
ZOOKEEPER-1666. Avoid Reverse DNS lookup if the hostname in connection string is literal IP
address. (George Cao via camille) (camille: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1538853)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/StaticHostProviderTest.java


> 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
>            Assignee: George Cao
>              Labels: patch, test
>         Attachments: ZOOKEEPER-1666-34.patch, ZOOKEEPER-1666.patch, ZOOKEEPER-1666.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message