Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2129

ruok command is not consistent with other four letter commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      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:

      HOST1:/home # echo ruok | netcat 10.x.x.x 2181
      imokHOST1:/home #
      

      conf Command output:

      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 #
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: