Github user liyinan926 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22959#discussion_r234773869
  
    --- Diff: 
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/DriverCommandFeatureStep.scala
 ---
    @@ -85,7 +83,7 @@ private[spark] class DriverCommandFeatureStep(conf: 
KubernetesConf[KubernetesDri
         val pythonEnvs =
           Seq(new EnvVarBuilder()
               .withName(ENV_PYSPARK_MAJOR_PYTHON_VERSION)
    -          .withValue(conf.sparkConf.get(PYSPARK_MAJOR_PYTHON_VERSION))
    +          
.withValue(driverConf.sparkConf.get(PYSPARK_MAJOR_PYTHON_VERSION))
    --- End diff --
    
    Looks like you can simply do `driverConf.get`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to