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

    https://github.com/apache/spark/pull/22298#discussion_r214411915
  
    --- Diff: 
resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/PythonTestsSuite.scala
 ---
    @@ -72,12 +72,33 @@ private[spark] trait PythonTestsSuite { k8sSuite: 
KubernetesSuite =>
           isJVM = false,
           pyFiles = Some(PYSPARK_CONTAINER_TESTS))
       }
    +
    +  test("Run PySpark with memory customization", k8sTestTag) {
    +    sparkAppConf
    +      .set("spark.kubernetes.container.image", 
s"${getTestImageRepo}/spark-py:${getTestImageTag}")
    +      .set("spark.kubernetes.pyspark.pythonVersion", "3")
    +      .set("spark.kubernetes.memoryOverheadFactor", 
s"$memOverheadConstant")
    +      .set("spark.executor.pyspark.memory", s"${additionalMemory}m")
    +      .set("spark.python.worker.reuse", "false")
    --- End diff --
    
    in reference to 
https://github.com/apache/spark/pull/21977#issuecomment-411130872 


---

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

Reply via email to