Github user mridulm commented on a diff in the pull request:
https://github.com/apache/spark/pull/16788#discussion_r105526180
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -1006,7 +1006,7 @@ class DAGScheduler(
runningStages -= stage
return
}
-
+ val tokens = KerberosUtil.getHadoopDelegationTokens
--- End diff --
See my comment about below about how current spark (on yarn) handles
security https://github.com/apache/spark/pull/16788/files#r105319503.
@tgravescs or @vanzin can correct me if I am wrong (in case I am
misremembering) -
In a secure hdfs, it is not necessary for principal/keytab to be provided -
if the job will finishes before token renewal is necessitated.
Given above : The call chain in KerberosUtil.getHadoopDelegationTokens will
throw an exception if they are missing if ugi security is enabled.
I am not sure if this is a requirement in mesos, but it is not for yarn.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]