Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19437#discussion_r146682439
--- Diff:
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
---
@@ -440,6 +420,23 @@ private[spark] class MesosClusterScheduler(
CommandInfo.URI.newBuilder().setValue(uri.trim()).setCache(useFetchCache).build())
}
+ private def getContainerInfo(desc: MesosDriverDescription):
ContainerInfo.Builder = {
+ val containerInfo =
MesosSchedulerBackendUtil.buildContainerInfo(desc.conf)
+
+ MesosSchedulerBackendUtil.getSecretVolume(desc.conf,
config.driverSecretConfig)
+ .foreach { volume =>
+ if (volume.getSource.getSecret.getReference.isInitialized) {
--- End diff --
Indent further.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]