You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/01/31 13:23:00 UTC

[jira] [Created] (FLINK-15835) OSS filesystems bundles entire hadoop-common

Chesnay Schepler created FLINK-15835:
----------------------------------------

             Summary: OSS filesystems bundles entire hadoop-common
                 Key: FLINK-15835
                 URL: https://issues.apache.org/jira/browse/FLINK-15835
             Project: Flink
          Issue Type: Improvement
          Components: FileSystems
    Affects Versions: 1.9.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.11.0


The {{flink-oss-fs-hadoop}} filesystem has a dependency on {{flink-fs-hadoop-shaded}} (a trimmed down version of hadoop-common) and {{hadoop-aliyun}}, the latter also having a dependency on {{hadoop-common}}.

Since {{flink-fs-hadoop-shaded}} bundles everything and creates a dependency-reduced pom (that as a result contains no dependencies) the transitive hadoop-common dependency pulled in from {{hadoop-aliyun}} is not being altered in any way, and is hence included in it's entirety in the jar.

We should add an explicit exclusion for the transitive hadoop-common dependency.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)