Skip to content

Commit d466c0b

Browse files
committed
[SPARK-47142][K8S][TESTS] Use spark.jars.ivy instead spark.driver.extraJavaOptions in DepsTestsSuite
### What changes were proposed in this pull request? This PR aims to use `spark.jars.ivy` instead of `spark.driver.extraJavaOptions` in `DepsTestsSuite`. ### Why are the changes needed? To provide a test coverage for the most common and simplest way. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #45229 from dongjoon-hyun/SPARK-47142. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent a053b40 commit d466c0b

File tree

1 file changed

+1
-1
lines changed
  • resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest

1 file changed

+1
-1
lines changed

resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ private[spark] trait DepsTestsSuite { k8sSuite: KubernetesSuite =>
386386
.set("spark.kubernetes.file.upload.path", s"s3a://$BUCKET")
387387
.set("spark.hadoop.fs.s3a.impl", "org.apache.hadoop.fs.s3a.S3AFileSystem")
388388
.set("spark.jars.packages", packages)
389-
.set("spark.driver.extraJavaOptions", "-Divy.cache.dir=/tmp -Divy.home=/tmp")
389+
.set("spark.jars.ivy", "/tmp")
390390
}
391391

392392
private def tryDepsTest(runTest: => Unit): Unit = {

0 commit comments

Comments
 (0)