dongjoon-hyun commented on code in PR #46153:
URL: https://github.com/apache/spark/pull/46153#discussion_r1574288193
##########
sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/session/HiveSessionImplwithUGI.java:
##########
@@ -85,15 +73,6 @@ public String getDelegationToken() {
return this.delegationTokenStr;
}
- @Override
- protected synchronized void acquire(boolean userAccess) {
- super.acquire(userAccess);
- // if we have a metastore connection with impersonation, then set it first
- if (sessionHive != null) {
- Hive.set(sessionHive);
- }
- }
Review Comment:
I thought `HiveSessionImplwithUGI` need to override this because of the
impersonation. Do you mean `HiveSessionImpl`'s implementation is enough to
handle UGI use case?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]