Github user susanxhuynh commented on a diff in the pull request:
https://github.com/apache/spark/pull/19437#discussion_r146712170
--- Diff:
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
---
@@ -394,9 +393,10 @@ private[spark] class MesosClusterScheduler(
}
// add secret environment variables
- getSecretEnvVar(desc).foreach { variable =>
+ MesosSchedulerBackendUtil.getSecretEnvVar(desc.conf,
config.driverSecretConfig)
+ .foreach { variable =>
if (variable.getSecret.getReference.isInitialized) {
--- End diff --
Fixed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]