Jayesh Lalwani created FLINK-39640:
--------------------------------------

             Summary: Bump Flink 1.20.0 to 1.20.3 and upgrade 
maven-shade-plugin to 3.6.0
                 Key: FLINK-39640
                 URL: https://issues.apache.org/jira/browse/FLINK-39640
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Hive
    Affects Versions: 3.0.0
            Reporter: Jayesh Lalwani


The Flink Hive connector CI is broken because flink-1.20.0-bin-scala_2.12.tgz 
has been removed from Apache's download mirrors (Apache only hosts the latest 
patch release per minor version). This prevents CI from running end-to-end 
tests.

Bumping to Flink 1.20.3 fixes the binary download but introduces a transitive 
dependency change: flink-parquet:1.20.3 pulls in parquet-hadoop:1.15.2 (up from 
1.13.1 in 1.20.0). The parquet 1.15.x line includes multi-release JAR entries 
with Java 17 and Java 22 class files under META-INF/versions/. The current 
maven-shade-plugin:3.2.4 (inherited from flink-connector-parent) cannot process 
these entries, failing with:

{code}
Unsupported class file major version 61
{code}

Fix:
1. Bump flink.version from 1.20.0 to 1.20.3
2. Override maven-shade-plugin version to 3.6.0 (supports multi-release JARs)
3. Update CI workflow to download flink-1.20.3 binary




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

Reply via email to