zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Gutierrez Segales (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-1884) zkCli silently ignores commands with missing parameters
Date Fri, 01 May 2015 00:26:07 GMT

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

Raul Gutierrez Segales updated ZOOKEEPER-1884:
----------------------------------------------
    Attachment: ZOOKEEPER-1884.patch

More generally, zkCli was not issuing warnings when the command existed *but* the number of
parameters was wrong. This patch changes things so that usage() is called if there's no match
(regardless of the command being known or not).

cc: [~michim], [~hdeng], [~fpj]

> zkCli silently ignores commands with missing parameters
> -------------------------------------------------------
>
>                 Key: ZOOKEEPER-1884
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1884
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.6
>            Reporter: Flavio Junqueira
>            Assignee: Raul Gutierrez Segales
>            Priority: Minor
>             Fix For: 3.4.7
>
>         Attachments: ZOOKEEPER-1884.patch
>
>
> Apparently, we have fixed this in trunk, but not in the 3.4 branch. When we pass only
the path to create, the command is not executed because it expects an additional parameter
and there is no error message because the create command exists.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message