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

CLONE - ZK Shell/Cli re-executes last command on exit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 3.4.6, 3.5.0
    • scripts
    • zookeeper-3.4.3 release

    Description

      In the ZK 3.4.3 release's version of zkCli.sh, the last command that was executed is re-executed when you ctrl+d out of the shell. In the snippet below, ls is executed, and then ctrl+d is triggered (inserted below to illustrate), the output from ls appears again, due to the command being re-run.

      [zk: zookeeper.example.com:2181(CONNECTED) 0] ls /blah
      [foo]
      [zk: zookeeper.example.com:2181(CONNECTED) 1] <ctrl+d> [foo]
      $
      

      Attachments

        1. ZOOKEEPER-1535-1.patch
          0.5 kB
          Mostafa Shahdadi
        2. ZOOKEEPER-1535-2.patch
          0.5 kB
          Mostafa Shahdadi

        Issue Links

          Activity

            People

              eribeiro Edward Ribeiro
              mostafa.shahdadi Mostafa Shahdadi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: