Github user yaooqinn commented on a diff in the pull request:
https://github.com/apache/spark/pull/20784#discussion_r177288126
--- Diff:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala
---
@@ -121,6 +134,25 @@ private[hive] object SparkSQLCLIDriver extends Logging
{
}
}
+ if (isSecuredAndProxy(conf)) {
+ val currentUser = UserGroupInformation.getCurrentUser
+ try {
+ SparkHadoopUtil.get.doAsRealUser {
--- End diff --
updated
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]