You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2013/02/19 19:09:12 UTC

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

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

Jun Rao closed KAFKA-743.
-------------------------

    
> 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
>            Assignee: Jun Rao
>            Priority: Blocker
>             Fix For: 0.8
>
>         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