Github user susanxhuynh commented on a diff in the pull request:
    --- Diff: 
    @@ -529,18 +570,120 @@ private[spark] class MesosClusterScheduler(
         val appName = desc.conf.get("")
    +    val driverLabels = 
    +      .getOrElse(""))
           .setName(s"Driver for ${appName}")
    +      .setContainer(getContainerInfo(desc))
    -      .setContainer(MesosSchedulerBackendUtil.containerInfo(desc.conf))
    +      .setLabels(driverLabels)
    +  private def getContainerInfo(desc: MesosDriverDescription): 
ContainerInfo.Builder = {
    +    val containerInfo = MesosSchedulerBackendUtil.containerInfo(desc.conf)
    +    getSecretVolume(desc).foreach { volume =>
    +      logInfo(s"Setting secret 
name=${volume.getSource.getSecret.getReference.getName} " +
    --- End diff --
    Is this assuming the type is `Reference` when it could be either 
`Reference` or `Value`? Same question for the logInfo() for env vars above.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to