Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4.5
-
Try to avoid reverse name service look up when the connection string consists of literal IP addresses but not real host names.
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.
Attachments
Attachments
Issue Links
- blocks
-
ZOOKEEPER-1652 zookeeper java client does a reverse dns lookup when connecting
- Resolved
- breaks
-
OOZIE-1959 TestZKUtilsWithSecurity fails
- Closed
- is duplicated by
-
ZOOKEEPER-1652 zookeeper java client does a reverse dns lookup when connecting
- Resolved
- relates to
-
ZOOKEEPER-2184 Zookeeper Client should re-resolve hosts when connection attempts fail
- Closed