Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/20784#discussion_r177291761 --- Diff: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala --- @@ -77,6 +80,12 @@ private[hive] object SparkSQLCLIDriver extends Logging { }) } + private def isSecuredAndProxy(hiveConf: HiveConf): Boolean = { --- End diff -- Isn't this basically `HiveDelegationTokenProvider.delegationTokensRequired`? Doesn't it work if you just call that method? The only difference is the check for deploy mode, which should work fine in this context.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org