This is an automated email from the ASF dual-hosted git repository.
yangjie01 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 6e16401fbff [SPARK-45307][INFRA] Use Zulu JDK in `benchmark` GitHub
Action and Java 21
6e16401fbff is described below
commit 6e16401fbff9b25df39daf3b1060c8e21e92c55d
Author: panbingkun <[email protected]>
AuthorDate: Mon Sep 25 22:39:31 2023 +0800
[SPARK-45307][INFRA] Use Zulu JDK in `benchmark` GitHub Action and Java 21
### What changes were proposed in this pull request?
The pr aims to use Zulu JDK in benchmark GitHub Action and Java 21.
### Why are the changes needed?
When I was preparing to obtain the results of
`org.apache.spark.MapStatusesConvertBenchmark` benchmark running on JDK21 in
GA, the following error occurred,
https://github.com/panbingkun/spark/actions/runs/6293925655/job/17085885694
<img width="1020" alt="image"
src="https://github.com/apache/spark/assets/15246973/36e293e0-cae8-4764-a93a-93a139b6eaaa">
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually test.
https://github.com/panbingkun/spark/actions/runs/6295588793
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #43094 from panbingkun/SPARK-45307.
Authored-by: panbingkun <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
---
.github/workflows/benchmark.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 79afb46f301..11ebb8ae7e2 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -107,7 +107,7 @@ jobs:
if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true'
uses: actions/setup-java@v3
with:
- distribution: temurin
+ distribution: zulu
java-version: ${{ github.event.inputs.jdk }}
- name: Generate TPC-DS (SF=1) table data
if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true'
@@ -159,7 +159,7 @@ jobs:
- name: Install Java ${{ github.event.inputs.jdk }}
uses: actions/setup-java@v3
with:
- distribution: temurin
+ distribution: zulu
java-version: ${{ github.event.inputs.jdk }}
- name: Cache TPC-DS generated data
if: contains(github.event.inputs.class, 'TPCDSQueryBenchmark') ||
contains(github.event.inputs.class, '*')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]