[ https://issues.apache.org/jira/browse/HIVE-28209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-28209: ---------------------------------- Labels: pull-request-available (was: ) > Allow Proxy Users in Hive Metastore Client > ------------------------------------------ > > Key: HIVE-28209 > URL: https://issues.apache.org/jira/browse/HIVE-28209 > Project: Hive > Issue Type: Improvement > Components: Metastore > Reporter: Steve Vaughan > Assignee: Steve Vaughan > Priority: Minor > Labels: pull-request-available > > We should allow proxy users in the Hive Metastore client. Proxy user > impersonation should work for Hive just as it is working for HDFS > Currently the client uses > {code:java} > UserGroupInformation.getLoginUser().getRealUser().doAs{code} > which results in a NullPointerException when a proxy user is used, as > `getRealUser()` returns `null`. > > Allowing the current user to only requires dropping `getRealUser()` for the > `doAs()`. foo > {code:java} > UserGroupInformation.getLoginUser().doAs{code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)