Re: Review Request 34494: Patch for KAFKA-2212

2015-07-01 Thread Tom Graves

---
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
 




Re: Review Request 34494: Patch for KAFKA-2212

2015-06-30 Thread Tom Graves

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34494/#review89940
---



core/src/main/scala/kafka/admin/AclCommand.scala (line 48)
https://reviews.apache.org/r/34494/#comment142836

Needs to check for list opteration also else you can't do a list.


- 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
 




Review Request 34494: Patch for KAFKA-2212

2015-05-20 Thread Parth Brahmbhatt

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34494/
---

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