Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11941

Support Java 17 in Impala

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.3.0
    • None
    • None
    • ghx-label-4

    Description

      Support Java 17 in Impala.


      jdeprscan identifies one new deprecation to address

      $ /usr/lib/jvm/java-17-openjdk-amd64/bin/jdeprscan --release 17 --class-path "$CLASSPATH" fe/target/impala-frontend-4.3.0-SNAPSHOT.jar
      Jar file fe/target/impala-frontend-4.3.0-SNAPSHOT.jar:
      class org/apache/impala/util/UnsafeUtil uses deprecated class java/security/AccessController (forRemoval=true)
      

      This is related to our use of sun.misc.Unsafe. However an appropriate replacement - https://openjdk.org/jeps/193 - was only added in Java 9.

      Attachments

        Issue Links

          Activity

            People

              MikaelSmith Michael Smith
              myloginid@gmail.com Manish Maheshwari
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: