[ 
https://issues.apache.org/jira/browse/IMPALA-13921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056770#comment-18056770
 ] 

ASF subversion and git services commented on IMPALA-13921:
----------------------------------------------------------

Commit 39daf930d8badf47752d719bbcc27782f5680bbc in impala's branch 
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=39daf930d ]

IMPALA-13921: Make Java 17 the default in tests

This patch makes Java 17 the default in our builds. Once it has been
proven stable, we can explicitly remove support for Java 8 and
possibly Java 11, and remove all related code also.

Fixes required for this change:
* Fix DESCRIPTION output of bin/jenkins/build-all-flag-combinations.sh
* Use Java 17 in the docker containers
* Hive 3:
  - Add javax.annotation-api as a direct dependency
  - Disable DataNucleus (which is only needed for the interaction
    between HMS and its backend DB)
  - Remove Cleaner logic in the ORC EncodedReaderImpl, because its
    API changed and it isn't needed for the Impala frontend/catalog.
* Hive 2:
  - Patching Hive 2 and building with Java 17 is cumbersome. A cleaner
    solution was to add some extra shimming around notification events
    and catalog name.
  - hive_metastore.thrift still need to be patched to add 'catName'
    field to NotificationEvent, so we don't need to modify our C++ code

Generated-by: Github Copilot (Claude Sonnet 4.5)
Generated-by: Gemini Pro

Change-Id: I99cc3b752142e6936a039c02505e3c35e71277aa
Reviewed-on: http://gerrit.cloudera.org:8080/23916
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Make Java 17 the default in tests
> ---------------------------------
>
>                 Key: IMPALA-13921
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13921
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>            Reporter: Csaba Ringhofer
>            Assignee: Zoltán Borók-Nagy
>            Priority: Critical
>
> Currently the default IMPALA_JDK_VERSION is "system", which means 8.
> https://github.com/apache/impala/blob/033a86d4b369fd3252a30083d6424f2dc3706621/bin/impala-config-java.sh#L21
> To allow adding changes that no longer run with Java 8 first we need to 
> update all test environments to use OpenJDK 17 instead of 8.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to