You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Maxime Brugidou (JIRA)" <ji...@apache.org> on 2013/01/30 17:21:13 UTC

[jira] [Commented] (KAFKA-743) PreferredReplicaLeaderElectionCommand has command line error

    [ https://issues.apache.org/jira/browse/KAFKA-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566574#comment-13566574 ] 

Maxime Brugidou commented on KAFKA-743:
---------------------------------------

Same thing for CheckReassignmentStatus and ReassignPartitionsCommand
                
> PreferredReplicaLeaderElectionCommand has command line error
> ------------------------------------------------------------
>
>                 Key: KAFKA-743
>                 URL: https://issues.apache.org/jira/browse/KAFKA-743
>             Project: Kafka
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Priority: Blocker
>         Attachments: kafka-743.patch
>
>
> bin/kafka-preferred-replica-election.sh 
> Exception in thread "main" joptsimple.IllegalOptionSpecificationException: ' ' is not a legal option character
> 	at joptsimple.ParserRules.ensureLegalOptionCharacter(ParserRules.java:81)
> 	at joptsimple.ParserRules.ensureLegalOption(ParserRules.java:71)
> 	at joptsimple.ParserRules.ensureLegalOptions(ParserRules.java:76)
> 	at joptsimple.OptionParser.acceptsAll(OptionParser.java:309)
> 	at joptsimple.OptionParser.accepts(OptionParser.java:271)
> 	at kafka.admin.PreferredReplicaLeaderElectionCommand$.main(PreferredReplicaLeaderElectionCommand.scala:29)
> 	at kafka.admin.PreferredReplicaLeaderElectionCommand.main(PreferredReplicaLeaderElectionCommand.scala)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira