You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by vanzin <gi...@git.apache.org> on 2018/11/26 23:29:38 UTC

[GitHub] spark pull request #23037: [SPARK-26083][k8s] Add Copy pyspark into correspo...

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

    https://github.com/apache/spark/pull/23037#discussion_r236468362
  
    --- Diff: resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/PythonTestsSuite.scala ---
    @@ -89,6 +94,90 @@ private[spark] trait PythonTestsSuite { k8sSuite: KubernetesSuite =>
           isJVM = false,
           pyFiles = Some(PYSPARK_CONTAINER_TESTS))
       }
    +
    +  test("Run PySpark shell", k8sTestTag) {
    +    val labels = Map("spark-app-selector" -> driverPodName)
    +    val driverPort = 7077
    +    val blockManagerPort = 10000
    +    val driverService = testBackend
    +      .getKubernetesClient
    +      .services()
    +      .inNamespace(kubernetesTestComponents.namespace)
    +      .createNew()
    --- End diff --
    
    This doesn't seem to follow the usual indentation used in this module, which makes these calls easier to read. e.g.
    
    https://github.com/apache/spark/blob/master/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/PodTemplateConfigMapStep.scala#L33


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org