hive
hive copied to clipboard
HIVE-29306: GSSException encountered during HMS Ranger authorization
What changes were proposed in this pull request?
In case of proxy user opening the transport connection, it fails with Kerberos error since proxy users do not have tgt. In such case, we use the real logged-in user behind the proxy user to open the transport connection.
Why are the changes needed?
Does this PR introduce any user-facing change?
No
How was this patch tested?
By enabling HMS Ranger authorization in Ambari cluster
Quality Gate passed
Issues
8 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code