Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/4688#discussion_r27221547
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala
---
@@ -234,9 +236,14 @@ class CoarseGrainedSchedulerBackend(scheduler:
TaskSchedulerImpl, val actorSyste
properties += ((key, value))
}
}
+
// TODO (prashant) send conf instead of properties
driverActor = actorSystem.actorOf(
Props(new DriverActor(properties)), name =
CoarseGrainedSchedulerBackend.ACTOR_NAME)
+
+ // If a principal and keytab have been set, use that to create new
credentials for executors
+ // periodically
+ SparkHadoopUtil.get.scheduleLoginFromKeytab()
--- End diff --
hmm after looking a bit more, I guess updateCredentialsIfRequired() is
called from the runAsUser which is common so I guess this location makes sense
to match that. I do still think the YarnSparkHadoopUtil has got a lot of stuff
in it though.
---
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]