maoling created ZOOKEEPER-3261:
----------------------------------

             Summary: improve the "./zkServer.sh status" cmd to show the info 
about myid
                 Key: ZOOKEEPER-3261
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3261
             Project: ZooKeeper
          Issue Type: Improvement
          Components: scripts
            Reporter: maoling


keep the standalone unchanged.
{code:java}
[root@959572f662cb bin]# ./zkServer.sh status
JMX enabled by default
Using config: 
/data/software/zookeeper/zookeeper-standalone-test/bin/../conf/zoo.cfg
Mode: standalone{code}

When in the quorum mode:
{code:java}
[root@959572f662cb bin]# ./zkServer.sh status
JMX enabled by default
Using config: 
/data/software/zookeeper/zookeeper-standalone-test/bin/../conf/zoo.cfg
Myid:2
Mode: standalone{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to