viirya commented on a change in pull request #31761:
URL: https://github.com/apache/spark/pull/31761#discussion_r589239763
##########
File path:
core/src/main/scala/org/apache/spark/deploy/security/HadoopFSDelegationTokenProvider.scala
##########
@@ -119,7 +133,7 @@ private[deploy] class HadoopFSDelegationTokenProvider
val renewer = UserGroupInformation.getCurrentUser().getUserName()
val creds = new Credentials()
- fetchDelegationTokens(renewer, filesystems, creds)
+ fetchDelegationTokens(renewer, filesystems, creds, hadoopConf, sparkConf)
val renewIntervals = creds.getAllTokens.asScala.filter {
Review comment:
The customer uses spark-submit to submit Spark job to YARN, I think the
customer already obtains delegation token for the remote HDFS. YARN will try to
renew the delegation token when we submit job to it, but the YARN cluster is
not able to renew it and fails.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]