zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maoling (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3261) improve the "./zkServer.sh status" cmd to show the info about myid
Date Wed, 30 Jan 2019 07:03:00 GMT
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)

Mime
View raw message