You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2015/02/24 19:55:04 UTC
[jira] [Commented] (ZOOKEEPER-2129) ruok command is not consistent
with other four letter commands
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14335237#comment-14335237 ]
Michi Mutsuzaki commented on ZOOKEEPER-2129:
--------------------------------------------
If I remember correctly, this is based on the format used by yahoo's process monitoring tool. I don't know if it'll break if we print out a newline character, but maybe we should leave it as is.
> ruok command is not consistent with other four letter commands
> --------------------------------------------------------------
>
> Key: ZOOKEEPER-2129
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2129
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Arshad Mohammad
> Priority: Trivial
> Fix For: 3.6.0
>
>
> ruok commands prints the output in the same line unlike the other four letter commands which print output in next line. Even though output is correct it is difficult to notice the output specially for a first time user. Its output should contain new line character as other four letter command's output
> ruok command output:
> {code}
> HOST1:/home # echo ruok | netcat 10.x.x.x 2181
> imokHOST1:/home #
> {code}
> conf Command output:
> {code}
> HOST1:/home # echo conf | netcat 10.x.x.x 2181
> clientPort=2181
> dataDir=/tmp/zookeeper/data/version-2
> dataLogDir=/tmp/zookeeper/data/version-2
> tickTime=2000
> .......
> HOST1:/home #
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)