vanzin commented on a change in pull request #23846: [SPARK-26729][K8S] Make
image names under test configurable
URL: https://github.com/apache/spark/pull/23846#discussion_r263890604
##########
File path:
resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/KubernetesSuite.scala
##########
@@ -108,9 +108,12 @@ class KubernetesSuite extends SparkFunSuite
sparkHomeDir = Paths.get(sparkDirProp)
require(sparkHomeDir.toFile.isDirectory,
s"No directory found for spark home specified at $sparkHomeDir.")
- image = testImageRef("spark")
- pyImage = testImageRef("spark-py")
- rImage = testImageRef("spark-r")
+ image = testImageRef(Option(System.getProperty(CONFIG_KEY_IMAGE_JVM))
Review comment:
`sys.props.getOrElse`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]