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

    https://github.com/apache/spark/pull/22415#discussion_r217609720
  
    --- Diff: 
resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/KubernetesSuite.scala
 ---
    @@ -218,17 +223,25 @@ private[spark] class KubernetesSuite extends 
SparkFunSuite
           .getItems
           .get(0)
         driverPodChecker(driverPod)
    -
    -    val executorPods = kubernetesTestComponents.kubernetesClient
    +    val execPods = scala.collection.mutable.Stack[Pod]()
    +    val execWatcher = kubernetesTestComponents.kubernetesClient
           .pods()
           .withLabel("spark-app-locator", appLocator)
           .withLabel("spark-role", "executor")
    -      .list()
    -      .getItems
    -    executorPods.asScala.foreach { pod =>
    -      executorPodChecker(pod)
    -    }
    -
    +      .watch(new Watcher[Pod] {
    --- End diff --
    
    To make sure that an executor pod has been properly brought up, so we can 
analyze its logs. 


---

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

Reply via email to