[
https://issues.apache.org/jira/browse/HIVE-15579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499418#comment-17499418
]
Bo Cui commented on HIVE-15579:
-------------------------------
hi [~nanda] [~thejas]
Why is RealUser called? In most cases, the LoginUser's RealUser is null.
!image-2022-03-01-17-45-03-213.png!
UserGroupInformation ugi = UserGroupInformation.createProxyUser(proxyUserA,
realUserB )
i think proxyUserA is `UserGroupInformation.getCurrentUser()` and realUserB is
`UserGroupInformation.getCurrentUser().getRealUser()`
> Support HADOOP_PROXY_USER for secure impersonation in hive metastore client
> ---------------------------------------------------------------------------
>
> Key: HIVE-15579
> URL: https://issues.apache.org/jira/browse/HIVE-15579
> Project: Hive
> Issue Type: Bug
> Reporter: Thejas Nair
> Assignee: Nandakumar
> Priority: Major
> Labels: TODOC2.2
> Fix For: 2.3.0
>
> Attachments: HIVE-15579.000.patch, HIVE-15579.001.patch,
> HIVE-15579.002.patch, HIVE-15579.003.patch, HIVE-15579.003.patch
>
>
> Hadoop clients support HADOOP_PROXY_USER for secure impersonation. It would
> be useful to have similar feature for hive metastore client.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)