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

    https://github.com/apache/spark/pull/20866#discussion_r176902474
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/security/HiveDelegationTokenProvider.scala
 ---
    @@ -92,8 +93,8 @@ private[security] class HiveDelegationTokenProvider
             s"$principal at $metastoreUri")
     
           doAsRealUser {
    -        val hive = Hive.get(conf, classOf[HiveConf])
    --- End diff --
    
    Thanks @dongjoon-hyun, seems `RetryingMetaStoreClient` is a better choice 
and I will try.


---

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

Reply via email to