[
https://issues.apache.org/jira/browse/ZOOKEEPER-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951768#comment-13951768
]
Michi Mutsuzaki commented on ZOOKEEPER-1725:
--------------------------------------------
Actually I'd like to update the patch to use HostNameUtils.
> Zookeeper Dynamic Conf writes out hostnames when IPs are supplied
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-1725
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1725
> Project: ZooKeeper
> Issue Type: Bug
> Affects Versions: 3.5.0
> Reporter: Justin SB
> Assignee: Alexander Shraer
> Priority: Minor
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-1725-ver1.patch, ZOOKEEPER-1725.patch
>
>
> When writing the dynamic configuration out, Zookeeper writes out hostnames,
> even if an IP address is supplied. These may not correctly round-trip (e.g.
> 127.0.0.1 might be written as localhost which may then resolve to 127.0.0.1
> and another IP address).
> This isn't actually causing problems for me right now, but seems very likely
> to cause hard-to-track-down problems in future.
--
This message was sent by Atlassian JIRA
(v6.2#6252)