Github user ArtRand 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 --
    Good catch, I changed this to be conditioned on the secret being a 
`REFERENCE` type. (You probably don't want the content of your secret printed 
to the logs with `VALUE` type. 

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