kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viliam Durina (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-5874) Incorrect command line handling
Date Tue, 12 Sep 2017 10:37:02 GMT

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

Viliam Durina updated KAFKA-5874:
---------------------------------
    Description: 
Extra parameters on command line are silently ignored. This leads to confusion. For example,
I did this command:

{{kafka-topics.bat --alter --topic my_topic partitions 3 --zookeeper localhost}}

Seemingly innocuous command took about 3 seconds and output nothing. It took me a while to
realize I missed "--" before "partitions", after which I got a confirmation on output.

Erroneous command lines should produce error output.

  was:
Extra parameters on command line are silently ignored. This leads to confusion. For example,
I did this command:

`kafka-topics.bat --alter --topic my_topic partitions 3 --zookeeper localhost`

Seemingly innocuous command took about 3 seconds and output nothing. It took me a while to
realize I missed "--" before "partitions", after which I got a confirmation on output.

Erroneous command lines should produce error output.


> Incorrect command line handling
> -------------------------------
>
>                 Key: KAFKA-5874
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5874
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 0.10.2.0, 0.11.0.0
>         Environment: Probably unrelated, but Windows 10 in this case
>            Reporter: Viliam Durina
>            Priority: Minor
>
> Extra parameters on command line are silently ignored. This leads to confusion. For example,
I did this command:
> {{kafka-topics.bat --alter --topic my_topic partitions 3 --zookeeper localhost}}
> Seemingly innocuous command took about 3 seconds and output nothing. It took me a while
to realize I missed "--" before "partitions", after which I got a confirmation on output.
> Erroneous command lines should produce error output.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message