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

kafka-acls.sh throws ArrayIndexOutOfBoundsException for an invalid authorizer-property

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: 0.9.0.1, 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      kafka-acls.sh throws ArrayIndexOutOfBoundsException for an invalid authorizer-property. ST below.

      Error while executing topic Acl command 1
      java.lang.ArrayIndexOutOfBoundsException: 1
      	at kafka.admin.AclCommand$$anonfun$withAuthorizer$2.apply(AclCommand.scala:65)
      	at kafka.admin.AclCommand$$anonfun$withAuthorizer$2.apply(AclCommand.scala:65)
      	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
      	at kafka.admin.AclCommand$.withAuthorizer(AclCommand.scala:65)
      	at kafka.admin.AclCommand$.addAcl(AclCommand.scala:78)
      	at kafka.admin.AclCommand$.main(AclCommand.scala:48)
      	at kafka.admin.AclCommand.main(AclCommand.scala)
      

        Attachments

          Activity

            People

            • Assignee:
              singhashish Ashish Singh
              Reporter:
              singhashish Ashish Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: