Github user anmolnar commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/451#discussion_r186735649 --- Diff: src/java/main/org/apache/zookeeper/client/HostProvider.java --- @@ -53,7 +54,7 @@ * @param spinDelay * Milliseconds to wait if all hosts have been tried once. */ - public InetSocketAddress next(long spinDelay); + public InetSocketAddress next(long spinDelay) throws UnknownHostException; --- End diff -- 1- See my comment below. Now I think the API change is necessary, but I need to double check how it was detected previously. 2- I started a thread on the mailing list a while ago for exactly the same reason. Let me update it.
---