Thejas M Nair created HIVE-6851: ----------------------------------- Summary: HS2 proxy user - should refresh proxy user list only once Key: HIVE-6851 URL: https://issues.apache.org/jira/browse/HIVE-6851 Project: Hive Issue Type: Bug Components: HiveServer2, Security Affects Versions: 0.13.0 Reporter: Thejas M Nair
With the change in HIVE-6800, HadoopShimsSecure. authorizeProxyAccess function calls ProxyUsers.refreshSuperUserGroupsConfiguration(conf) every time. ProxyUsers.refreshSuperUserGroupsConfiguration(conf) applies regex on all the params in hive configuration object, but this configuration object can have several hundreds of params. It is better to do this only once in hiveserver2. Note that this code is used only when proxy user feature is used in hiveserver2. -- This message was sent by Atlassian JIRA (v6.2#6252)