You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2009/06/06 13:18:07 UTC

[jira] Updated: (ZOOKEEPER-434) the java shell should indicate connection status on command prompt

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

Henry Robinson updated ZOOKEEPER-434:
-------------------------------------

    Attachment: ZOOKEEPER-434.patch

Prompt now shows host:port(status)

Also added 'connect' and 'close' to allow for recycling connections without quitting and starting again. If a connection is closed, most operations will report 'Not connected'.

Also included tiny documentation update to get command line parameters right.

> the java shell should indicate connection status on command prompt
> ------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-434
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-434
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: java client
>    Affects Versions: 3.2.0
>            Reporter: Patrick Hunt
>            Assignee: Henry Robinson
>            Priority: Minor
>         Attachments: ZOOKEEPER-434.patch
>
>
> it would be very useful if the java shell showed the current connection status as part of the command prompt.
> this shows itself in particular for the following use case:
> I attempted to connect a java shell to a remote cluster that was unavailable, when I run the first command "ls /" on
> the cluster the shell hangs. It would be nice if the shell indicated connection status in the prompt and make it more
> clear that the shell is currently not connected. (it was hard to see the "attempting to connect" console message as
> it was lost in with the other messaes...)

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