[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-386:
-----------------------------------

    Attachment: jline-0.9.94.jar
                ZOOKEEPER-386.patch

This latest patch includes:

1) replace tabs with spaces (we don't allow tabs in zk source)

2) added jline license file 

3) attached jline jar file (place into src/java/lib)

4) added a notice file for external libs (contains source url)

5) the shell checks for jline jar, if not available it drops back to non-jline 
shell

6) updated the forrest docs to reflect new calling convention (-server option)

7) made zk client timeout configurable, defaults to 30sec

8) added better command error handling (ls <non-existent-znode> no longer 
causes the shell to exit)


> improve java cli shell
> ----------------------
>
>                 Key: ZOOKEEPER-386
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-386
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Patrick Hunt
>            Assignee: Henry Robinson
>            Priority: Minor
>             Fix For: 3.2.0
>
>         Attachments: jline-0.9.94.jar, patch.txt, ZOOKEEPER-386.patch, 
> ZOOKEEPER-386.patch
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to