[
https://issues.apache.org/jira/browse/HIVE-13418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244552#comment-15244552
]
Lefty Leverenz commented on HIVE-13418:
---------------------------------------
[~thejas], two days ago you committed this to master. Are you waiting until a
branch commit before updating the status?
(See commit 833a7d158b3a8e45f492e7c82640c1a367d79b30.)
> HiveServer2 HTTP mode should support X-Forwarded-Host header for
> authorization/audits
> -------------------------------------------------------------------------------------
>
> Key: HIVE-13418
> URL: https://issues.apache.org/jira/browse/HIVE-13418
> Project: Hive
> Issue Type: New Feature
> Components: Authorization, HiveServer2
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
> Attachments: HIVE-13418.1.patch
>
>
> Apache Knox acts as a proxy for requests coming from the end users. In these
> cases, the IP address that HiveServer2 passes to the authorization/audit
> plugins via the HiveAuthzContext object only the IP address of the proxy, and
> not the end user.
> For auditing purposes, the IP address of the end user and any proxies in
> between are useful.
> HiveServer2 should pass the information from 'X-Forwarded-Host' header to
> the HiveAuthorizer plugins.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)