Adam Holley has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11553
Change subject: IMPALA-7646: SHOW GRANT USER does not work for kerberos cluster ...................................................................... IMPALA-7646: SHOW GRANT USER does not work for kerberos cluster This patch fixes the SHOW GRANT USER statement to properly check that the requesting user short name matches the name in the SHOW GRANT USER statement to determine whether or not an admin check is required for showing the privileges. Previous to this patch, the full kerberos user name, e.g. foo_user@REALM was compared against "SHOW GRANT USER foo_user" and did not match do admin privileges were required. Testing: - Ran all fe and custom cluster tests. - Validated against kerberized cluster. Change-Id: Iba4c627b72c8cbc323be25917698a75d153afd31 --- M fe/src/main/java/org/apache/impala/service/Frontend.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/53/11553/1 -- To view, visit http://gerrit.cloudera.org:8080/11553 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iba4c627b72c8cbc323be25917698a75d153afd31 Gerrit-Change-Number: 11553 Gerrit-PatchSet: 1 Gerrit-Owner: Adam Holley <ahol...@cloudera.com>