• Cheng Pan's avatar
    [KYUUBI #693] [BUILD] [GA] Support JDK 11 and enable it in GitHub Action · 5c5d43b1
    Cheng Pan authored
    <!--
    Thanks for sending a pull request!
    
    Here are some tips for you:
      1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
      2. If the PR is related to an issue in https://github.com/NetEase/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
      3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
    -->
    
    ### _Why are the changes needed?_
    <!--
    Please clarify why the changes are needed. For instance,
      1. If you add a feature, you can talk about the use case of it.
      2. If you fix a bug, you can clarify why it is a bug.
    -->
    Close #550, relate to #559 #688 #689.
    
    Add `javax.xml.bind:jaxb-api` and `javax.activation:activation` since those apis has been removed by JDK 11.
    
    In GA, we saw a significant performance downgrade in the unit tests, and even with some changes like enlarging timeout, using in-memory catalog instead of hive catalog, the JDK11(~43min) tests cost 2 times than JDK8(~22min), this performance regression is tracked in #745.
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
    
    - [ ] Add screenshots for manual tests if appropriate
    
    - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests
    
    ) locally before make a pull request
    
    Closes #693 from pan3793/jdk11.
    
    Closes #693
    
    5706daf1 [Cheng Pan] shrink scalatest memory
    6ebac68e [Cheng Pan] address comments
    2b479391 [Cheng Pan] address comments
    5fa74aa0 [Cheng Pan] disable test in kyuubi-extension-spark_3.1
    9f070a40 [Cheng Pan] maven profile for jdk versions
    801e4cd1 [Cheng Pan] jdk11 in GA
    e86893cc [Cheng Pan] enlarge YarnCluster timeout
    c880edd1 [Cheng Pan] minor
    38d2775c [Cheng Pan] enlarge engine crash timeout
    a945ade3 [Cheng Pan] use in-memory catalog in EngineRefSuite
    51604d73 [Cheng Pan] enlarge ENGINE_INIT_TIMEOUT
    7baeb965 [Cheng Pan] minicluster
    a7e4bdf1 [Cheng Pan] GA matrix
    b29aa2f4 [Cheng Pan] license for jaxb
    4283777b [Cheng Pan] Add dependency jaxb-api
    c5b0e580 [Cheng Pan] [GA] Enable JDK 11 in GA
    Lead-authored-by: default avatarCheng Pan <chengpan@apache.org>
    Co-authored-by: default avatarCheng Pan <379377944@qq.com>
    Signed-off-by: default avatarCheng Pan <chengpan@apache.org>
    5c5d43b1