You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jonathan Rafalski (JIRA)" <ji...@apache.org> on 2015/02/20 20:30:12 UTC
[jira] [Commented] (KAFKA-1680) JmxTool exits if no arguments are
given
[ https://issues.apache.org/jira/browse/KAFKA-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329407#comment-14329407 ]
Jonathan Rafalski commented on KAFKA-1680:
------------------------------------------
is this still a valid bug? Seems to me that if they don't provide a jmx-url the tools will not work as it defaults to a nonworking generic service address.
I have only been working on this tool for Kafka-1679 but I feel like we should require the jmx-url so if no args are passed it is correct that we should dump the help and exit.
> JmxTool exits if no arguments are given
> ---------------------------------------
>
> Key: KAFKA-1680
> URL: https://issues.apache.org/jira/browse/KAFKA-1680
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.8.2.0
> Reporter: Ryan Berdeen
> Assignee: Ewen Cheslack-Postava
> Priority: Minor
> Labels: newbie
> Attachments: KAFKA-1680.patch
>
>
> JmxTool has no required arguments, but it exits if no arguments are provided.
> You can work around this by passing a non-option argument, which will be ignored, e.g.{{./bin/kafka-run-class.sh kafka.tools.JmxTool xxx}}.
> It looks like this was broken in KAFKA-1291 / 6b0ae4bba0d0f8e4c8da19de65a8f03f162bec39
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)