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

    https://github.com/apache/curator/pull/205#discussion_r126865680
  
    --- Diff: 
curator-framework/src/main/java/org/apache/curator/framework/imps/EnsembleTracker.java
 ---
    @@ -166,12 +166,26 @@ public static String 
configToConnectionString(QuorumVerifier data) throws Except
             StringBuilder sb = new StringBuilder();
             for ( QuorumPeer.QuorumServer server : 
data.getAllMembers().values() )
             {
    +            if ( server.clientAddr == null )
    +            {
    +                // Invalid client address configuration in zoo.cfg
    +                continue;
    --- End diff --
    
    The spec of server address is server.<positive id> = 
<address1>:<port1>:<port2>[:role];[<client port address>:]<client port>, and if 
server.clientAddr is null then it means the client port address is not present. 
The client port address is optional, so the address is still a valid address. 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to