Hao Hao 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 MiniRange
Done


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 ch
Yeah, it is intentional in SubprocessConfiguration. Removed the check even 
though I don't see a reason it is hurting to check again here.



--
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: Mon, 16 Mar 2020 23:45:24 +0000
Gerrit-HasComments: Yes

Reply via email to