Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-743

PreferredReplicaLeaderElectionCommand has command line error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: tools
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              junrao Jun Rao
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: