Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.94.2, 0.94.3, 0.95.0
-
None
-
Reviewed
-
Formats the ensemble string we pass to the zookeeper constructor so instead of server1,server2,server3:port, it is instead server1:port,server2:port, etc., as zk expects in its connectString parameter.
Description
The ZooKeeperMainServerArg return String like this:<IP1>,<IP2>,<IP3>:<port>, but zookeeper client connection String shoud like this :<IP1>:<port>,<IP1>:<port>,<IP1>:<port>, if changed the zookeeper client port, the zkcli can't connection the first and the second ip.