Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct pyspark shell test's driver image
  • Loading branch information
AzureQ committed Nov 20, 2018
commit c626bd1cc3ed754502373a1df4fb8943cf56fde6
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private[spark] trait PythonTestsSuite { k8sSuite: KubernetesSuite =>
pyFiles = Some(PYSPARK_CONTAINER_TESTS))
}

test("Run bin/pyspark in client mode", k8sTestTag) {
test("Run PySpark shell", k8sTestTag) {
val labels = Map("spark-app-selector" -> driverPodName)
val driverPort = 7077
val blockManagerPort = 10000
Expand Down Expand Up @@ -135,8 +135,8 @@ private[spark] trait PythonTestsSuite { k8sSuite: KubernetesSuite =>
.withNewSpec()
.withServiceAccountName(kubernetesTestComponents.serviceAccountName)
.addNewContainer()
.withName("pyspark-example")
.withImage(image)
.withName("pyspark-shell")
.withImage(pyImage)
.withImagePullPolicy("IfNotPresent")
.withCommand("/opt/spark/bin/pyspark")
.addToArgs("--master", s"k8s://https://kubernetes.default.svc")
Expand Down