You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zzzzming95 (via GitHub)" <gi...@apache.org> on 2023/09/08 11:16:36 UTC

[GitHub] [spark] zzzzming95 commented on a diff in pull request #42760: [SPARK-45041][SQL] Using --proxy-user would get GSS init failed when `hive.metastore.token.signature` not empty

zzzzming95 commented on code in PR #42760:
URL: https://github.com/apache/spark/pull/42760#discussion_r1319727753


##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/security/HiveDelegationTokenProvider.scala:
##########
@@ -41,6 +41,8 @@ import org.apache.spark.util.Utils
 private[spark] class HiveDelegationTokenProvider
     extends HadoopDelegationTokenProvider with Logging {
 
+  private val tokenSignature = "spark.delegation.token";

Review Comment:
   Thanks for the review, maybe the `spark.yarn.principal` and `spark.yarn.keytab` has be set in the spark-defaults.conf? 



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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