[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605879#comment-13605879
 ] 

Xiaoshuang Wang commented on ZOOKEEPER-1672:
--------------------------------------------

[zk: localhost:2181(CONNECTED) 2] reconfig -remove 7
Committed new configuration:
server.4=192.168.1.4:2888:3888:participant;0.0.0.0:2181
server.5=192.168.1.5:2888:3888:participant;0.0.0.0:2181
server.6=192.168.1.6:2888:3888:participant;0.0.0.0:2181
version=1000004f7
[zk: localhost:2181(CONNECTED) 3]  reconfig -members 
server.4=192.168.1.4:2888:3888;2181,server.5=192.168.1.5:2888:3888;2181,server.6=192.168.1.6:2888:3888;2181
Committed new configuration:
server.4=192.168.1.4:2888:3888:participant;192.168.1.4:2181
server.5=192.168.1.5:2888:3888:participant;192.168.1.5:2181
server.6=192.168.1.6:2888:3888:participant;192.168.1.6:2181
version=100000515
[zk: localhost:2181(CONNECTED) 4]  reconfig -members 
server.4=192.168.1.4:2888:3888;2181,server.5=192.168.1.5:2888:3888;2181,server.6=192.168.1.6:2888:3888;2181,server.7=192.168.1.7:2888:3888;2181
Committed new configuration:
server.4=192.168.1.4:2888:3888:participant;192.168.1.4:2181
server.5=192.168.1.5:2888:3888:participant;192.168.1.5:2181
server.6=192.168.1.6:2888:3888:participant;192.168.1.6:2181
server.7=192.168.1.7:2888:3888:participant;192.168.1.7:2181
version=100000533
[zk: localhost:2181(CONNECTED) 5]  reconfig -members 
server.4=192.168.1.4:2888:3888;0.0.0.0:2181,server.5=192.168.1.5:2888:3888;0.0.0.0:2181,server.6=192.168.1.6:2888:3888;0.0.0.0:2181,server.7=192.168.1.7:2888:3888;0.0.0.0:2181
Committed new configuration:
server.4=192.168.1.4:2888:3888:participant;0.0.0.0:2181
server.5=192.168.1.5:2888:3888:participant;0.0.0.0:2181
server.6=192.168.1.6:2888:3888:participant;0.0.0.0:2181
server.7=192.168.1.7:2888:3888:participant;0.0.0.0:2181
version=100000550

                
> zookeeper client does not accept "-members" option in reconfig command
> ----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1672
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1672
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.5.0
>         Environment: CentOS virtual machines on VMware ESX Server with 
> Zookeeper trunk compiled.
>            Reporter: Xiaoshuang Wang
>            Priority: Trivial
>              Labels: patch
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1672.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Without the modification to 
> src/java/main/org/apache/zookeeper/cli/ReconfigCommand.java line 88, the 
> reconfig command will not accept "-member" options by complaining not using 
> the right usage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to