You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "snmvaughan (via GitHub)" <gi...@apache.org> on 2024/05/02 16:41:08 UTC
[PR] Feature/hive 28209 [hive]
snmvaughan opened a new pull request, #5233:
URL: https://github.com/apache/hive/pull/5233
### What changes were proposed in this pull request?
Allow delegation for HiveMetaStore connections
### Why are the changes needed?
The log message indicates that `HADOOP_PROXY_USER` is set, but then doesn't allow its use by calling `getRealUser()` which will be `null`. This change allows delegation for HiveMetaStore connections by using either the real user or self. The code for this is coming from Hadoop 3.3.6.
### Does this PR introduce _any_ user-facing change?
Allows proxying instead of throwing an exception.
### Is the change a dependency upgrade?
No
### How was this patch tested?
Local builds which have removed `getRealUser()` to allow the use of delegation work as expected. Running the existing code always fail because `getRealUser()` will always return `null`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-28209: Allow the use of a proxy user [hive]
Posted by "prasanthj (via GitHub)" <gi...@apache.org>.
prasanthj commented on PR #5233:
URL: https://github.com/apache/hive/pull/5233#issuecomment-2091432974
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-28209: Allow the use of a proxy user [hive]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #5233:
URL: https://github.com/apache/hive/pull/5233#issuecomment-2091137922
## [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=5233) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=5233&resolved=false&inNewCodePeriod=true)
 [0 Accepted issues](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=5233&metric=new_accepted_issues&view=list)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=5233&resolved=false&inNewCodePeriod=true)
 No data about Coverage
 No data about Duplication
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=5233)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-28209: Allow the use of a proxy user [hive]
Posted by "prasanthj (via GitHub)" <gi...@apache.org>.
prasanthj commented on PR #5233:
URL: https://github.com/apache/hive/pull/5233#issuecomment-2091820370
@snmvaughan Thanks for the contrib! Merged to master.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-28209: Allow the use of a proxy user [hive]
Posted by "prasanthj (via GitHub)" <gi...@apache.org>.
prasanthj merged PR #5233:
URL: https://github.com/apache/hive/pull/5233
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org