-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34494/#review90044
-----------------------------------------------------------
When running acls and not specifying the config I get a nullpointerexception.
When I add in --config server.properties it works fine. It might be nice to
have better error message
$ ./kafka-acl.sh --cluster --list --operations CREATE --allowprincipals user:foo
Exception in thread "main" java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at kafka.admin.AclCommand$.main(AclCommand.scala:43)
at kafka.admin.AclCommand.main(AclCommand.scala)
- Tom Graves
On May 20, 2015, 8:03 p.m., Parth Brahmbhatt wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34494/
> -----------------------------------------------------------
>
> (Updated May 20, 2015, 8:03 p.m.)
>
>
> Review request for kafka.
>
>
> Bugs: KAFKA-2212
> https://issues.apache.org/jira/browse/KAFKA-2212
>
>
> Repository: kafka
>
>
> Description
> -------
>
> KAFKA-2212: Add CLI for acl management of authorizer.
>
>
> Diffs
> -----
>
> core/src/main/scala/kafka/admin/AclCommand.scala PRE-CREATION
> core/src/test/scala/unit/kafka/admin/AclCommandTest.scala PRE-CREATION
>
> Diff: https://reviews.apache.org/r/34494/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Parth Brahmbhatt
>
>