zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mostafa Shahdadi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-2787) CLONE - ZK Shell/Cli re-executes last command on exit
Date Sat, 20 May 2017 23:08:04 GMT
Mostafa Shahdadi created ZOOKEEPER-2787:
-------------------------------------------

             Summary: CLONE - ZK Shell/Cli re-executes last command on exit
                 Key: ZOOKEEPER-2787
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2787
             Project: ZooKeeper
          Issue Type: Bug
          Components: scripts
         Environment: zookeeper-3.4.3 release
            Reporter: Mostafa Shahdadi
            Assignee: Edward Ribeiro
             Fix For: 3.4.6, 3.5.0
         Attachments: ZOOKEEPER-1535-1.patch, ZOOKEEPER-1535-2.patch

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. 
{noformat}
[zk: zookeeper.example.com:2181(CONNECTED) 0] ls /blah
[foo]
[zk: zookeeper.example.com:2181(CONNECTED) 1] <ctrl+d> [foo]
$
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message