You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2023/12/01 20:21:39 UTC
(spark) branch master updated: [SPARK-46204][K8S] Fix `dev-run-integration-tests.sh` to use 17 for `JAVA_VERSION`
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new d78126978799 [SPARK-46204][K8S] Fix `dev-run-integration-tests.sh` to use 17 for `JAVA_VERSION`
d78126978799 is described below
commit d78126978799e2d125c20b7db16855fdd628e874
Author: hannahkamundson <ha...@gmail.com>
AuthorDate: Fri Dec 1 12:21:25 2023 -0800
[SPARK-46204][K8S] Fix `dev-run-integration-tests.sh` to use 17 for `JAVA_VERSION`
### What changes were proposed in this pull request?
Tie the Kubernetes integration dev test script to Java 17.
### Why are the changes needed?
The Kubernetes dev integration test shell script was tied to Java 8. When it was run as is (and not forcing Java version >= 14), the build would fail because it couldn't build different features that required Java >= 14.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
I ran `./dev/dev-run-integration-tests.sh` and it worked.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #44112 from hannahkamundson/SPARK-46204.
Authored-by: hannahkamundson <ha...@gmail.com>
Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
.../kubernetes/integration-tests/dev/dev-run-integration-tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh b/resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh
index f5f93adeddf6..a0834e1ff23f 100755
--- a/resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh
+++ b/resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh
@@ -38,7 +38,7 @@ CONTEXT=
INCLUDE_TAGS="k8s"
EXCLUDE_TAGS=
DEFAULT_EXCLUDE_TAGS="N/A"
-JAVA_VERSION="8"
+JAVA_VERSION="17"
BUILD_DEPENDENCIES_MVN_FLAG="-am"
HADOOP_PROFILE="hadoop-3"
MVN="$TEST_ROOT_DIR/build/mvn"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org