Github user yaooqinn commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20784#discussion_r177610275
  
    --- Diff: 
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala
 ---
    @@ -121,6 +123,11 @@ private[hive] object SparkSQLCLIDriver extends Logging 
{
           }
         }
     
    +    Option(new HiveDelegationTokenProvider)
    +      .filter(_.delegationTokensRequired(sparkConf, hadoopConf))
    +      .foreach(_.obtainDelegationTokens(
    +        hadoopConf, sparkConf, 
UserGroupInformation.getCurrentUser.getCredentials))
    --- End diff --
    
    OK,i got it


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to