You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "liting liu (Jira)" <ji...@apache.org> on 2026/08/24 06:04:00 UTC

[jira] [Created] (FLINK-40458) Shade commons-lang and commons-lang3 in flink-sql-connector-hive

liting liu created FLINK-40458:
----------------------------------

             Summary: Shade commons-lang and commons-lang3 in flink-sql-connector-hive
                 Key: FLINK-40458
                 URL: https://issues.apache.org/jira/browse/FLINK-40458
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Hive
    Affects Versions: 2.3.0
            Reporter: liting liu


The flink-sql-connector-hive JAR currently packages the following dependencies
without relocation:

- org.apache.commons.lang.*
- org.apache.commons.lang3.*

These classes come from the hive-exec fat JAR. Because they retain their
original package names, they can conflict with commons-lang and commons-lang3
classes provided by Flink, other connectors, or user applications.

We should relocate both packages in the Hive SQL connector shaded JAR:

- org.apache.commons.lang
- org.apache.commons.lang3



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