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-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org