You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by bo...@apache.org on 2024/10/22 05:32:15 UTC

(kyuubi) branch master updated: [KYUUBI #6763] [CI] Specify JDK 11 for spark engine on kubernetes IT

This is an automated email from the ASF dual-hosted git repository.

bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 7cb6af1fe0 [KYUUBI #6763] [CI] Specify JDK 11 for spark engine on kubernetes IT
7cb6af1fe0 is described below

commit 7cb6af1fe04d4024ac4dcf96a96dcf1def3b6a45
Author: wforget <64...@qq.com>
AuthorDate: Tue Oct 22 13:32:01 2024 +0800

    [KYUUBI #6763] [CI] Specify JDK 11 for spark engine on kubernetes IT
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    `Spark Engine On Kubernetes Integration Test` always fails after #6739
    
    The default java version of Ubuntu 24.04 is OpenJDK 21: https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#openjdk , this is a version higher than that supported by spark 3.5.X.
    
    ## Describe Your Solution ๐Ÿ”ง
    
    Specify JDK 11 for spark engine on kubernetes it.
    
    ## Types of changes :bookmark:
    
    - [ ] Bugfix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing functionality to change)
    
    ## Test Plan ๐Ÿงช
    
    test ga: https://github.com/wForget/kyuubi/actions/runs/11441231714/job/31828818049
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [X] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #6763 from wForget/minor.
    
    Closes #6763
    
    aee39339f [wforget] Specify JDK 11 for spark engine on kubernetes it
    
    Authored-by: wforget <64...@qq.com>
    Signed-off-by: Bowen Liang <li...@gf.com.cn>
---
 .github/workflows/master.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index 4c517d6ab0..4cbdff1051 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -498,6 +498,13 @@ jobs:
         run: ./.github/scripts/free_disk_space.sh
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
+      - name: Setup JDK 11
+        uses: actions/setup-java@v4
+        with:
+          distribution: temurin
+          java-version: 11
+          cache: 'maven'
+          check-latest: false
       - name: Setup Minikube
         run: |
           # https://minikube.sigs.k8s.io/docs/start/