Andrew Wong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/15414 )

Change subject: [java] fix Kudu Ranger plugin when Ranger is Kerberized
......................................................................


Patch Set 4:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/15414/4//COMMIT_MSG
Commit Message:

PS4:
It's understandable that there are no tests because we don't have MiniRanger 
yet. Some level of testing is still important though. Could you note what sort 
of manual testing you did? Did you try with a secure cluster and an unsecure 
cluster?


http://gerrit.cloudera.org:8080/#/c/15414/4/java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/ranger/authorization/RangerKuduAuthorizer.java
File 
java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/ranger/authorization/RangerKuduAuthorizer.java:

http://gerrit.cloudera.org:8080/#/c/15414/4/java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/ranger/authorization/RangerKuduAuthorizer.java@78
PS4, Line 78: if (servicePrincipal == null || servicePrincipal.isEmpty() ||
            :           keytab == null || keytab.isEmpty()) {
As written, these are never null. Is that intentional? If so, remove the checks 
for null. Otherwise, allow these to be null when configuring.



--
To view, visit http://gerrit.cloudera.org:8080/15414
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe043293ea9cc1c2f43a331603dc1e3b36ff6ae0
Gerrit-Change-Number: 15414
Gerrit-PatchSet: 4
Gerrit-Owner: Hao Hao <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Sun, 15 Mar 2020 06:24:09 +0000
Gerrit-HasComments: Yes

Reply via email to