You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by afine <gi...@git.apache.org> on 2017/09/01 20:51:50 UTC

[GitHub] zookeeper pull request #348: ZOOKEEPER-2319:UnresolvedAddressException cause...

Github user afine commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/348#discussion_r136663144
  
    --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java ---
    @@ -621,7 +621,7 @@ public Listener() {
             @Override
             public void run() {
                 int numRetries = 0;
    -            InetSocketAddress addr;
    +            InetSocketAddress addr = null;
    --- End diff --
    
    @maoling I think a test case would be great because catching that exception does "change behavior". 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---