abstractdog commented on a change in pull request #1742:
URL: https://github.com/apache/hive/pull/1742#discussion_r674876607
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/HiveMetaStoreAuthorizer.java
##########
@@ -483,7 +484,8 @@ HiveAuthorizer createHiveMetaStoreAuthorizer() throws
Exception {
boolean isSuperUser(String userName) {
Configuration conf = getConf();
String ipAddress = HMSHandler.getIPAddress();
- return (MetaStoreServerUtils.checkUserHasHostProxyPrivileges(userName,
conf, ipAddress));
+ ProxyUsers.refreshSuperUserGroupsConfiguration(conf);
+ return (MetaStoreServerUtils.checkUserHasHostProxyPrivileges(userName,
ipAddress));
Review comment:
nit: extra bracket is not needed I guess
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]