Skip to content

Commit

Permalink
Enable useSparkShuffleFetch in Github CI.
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Spörri <psp@zurich.ibm.com>
  • Loading branch information
pspoerri committed Sep 13, 2023
1 parent aaa5968 commit cf5840f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,18 @@ jobs:
distribution: temurin
java-version: 11
cache: sbt
- name: Test
- name: Test Default Shuffle Fetch
shell: bash
if: startsWith(matrix.scala, '2.12.')
run: |
sbt test
- name: Test Spark Shuffle Fetch
shell: bash
if: startsWith(matrix.scala, '2.12.') && (startsWith(matrix.spark, '3.3.') || startsWith(matrix.spark, '3.3.'))
env:
USE_SPARK_SHUFFLE_FETCH: "true"
run: |
sbt test
- name: Package
shell: bash
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class S3ShuffleManagerTest {
def newSparkConf(): SparkConf = new SparkConf()
.setAppName("testApp")
.setMaster(s"local[2]")
.set("spark.shuffle.s3.useSparkShuffleFetch", "false")
.set("spark.shuffle.s3.useSparkShuffleFetch", scala.util.Properties.envOrElse("USE_SPARK_SHUFFLE_FETCH", "false"))
.set("spark.ui.enabled", "false")
.set("spark.driver.allowMultipleContexts", "true")
.set("spark.app.id", "app-" + UUID.randomUUID())
Expand Down

0 comments on commit cf5840f

Please sign in to comment.