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

the java shell should indicate connection status on command prompt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.1
    • 3.2.0
    • java client
    • None
    • Reviewed

    Description

      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...)

      Attachments

        1. ZOOKEEPER-434.patch
          8 kB
          Henry Robinson

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: