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

improve java cli shell

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0
    • java client
    • None
    • Reviewed
    • add readline support via jline to the java client shell.

    Description

      copied from the following comments by Vegard
      https://issues.apache.org/jira/browse/ZOOKEEPER-364?focusedCommentId=12696002&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12696002
      ------------------------------------------------------------
      Possible improvements:

      Default host list to localhost:2181 when not given.

      Don't print a ton of debug, it looks like both cli_mt and zkCli.sh does this. Make a simple ls that lists subnodes one line at a time and a simple cat that lists only the node content, simple put etc.

      Shell with gnu readline capabilities and tab completion on node names would be a big improvement of usability during testing and debugging.

      Attachments

        1. jline-0.9.94.jar
          85 kB
          Patrick D. Hunt
        2. patch.txt
          41 kB
          Henry Robinson
        3. ZOOKEEPER-386.patch
          38 kB
          Mahadev Konar
        4. ZOOKEEPER-386.patch
          38 kB
          Patrick D. Hunt
        5. ZOOKEEPER-386.patch
          41 kB
          Henry Robinson

        Issue Links

          Activity

            People

              henryr Henry Robinson
              phunt Patrick D. Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: