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/16 09:14:00 UTC

[jira] [Closed] (FLINK-15540) flink-shaded-hadoop-2-uber bundles wrong dependency versions

     [ https://issues.apache.org/jira/browse/FLINK-15540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-15540.
------------------------------------
    Resolution: Fixed

master: 01e95ca2975b409d4b367c4c0c81614846797963

> flink-shaded-hadoop-2-uber bundles wrong dependency versions
> ------------------------------------------------------------
>
>                 Key: FLINK-15540
>                 URL: https://issues.apache.org/jira/browse/FLINK-15540
>             Project: Flink
>          Issue Type: Bug
>          Components: BuildSystem / Shaded
>    Affects Versions: shaded-9.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: shaded-10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> For legacy reasons flink-shaded contains 2 modules for hadoop:
> flink-shaded-hadoop-2, defining the core dependencies and versions via dependency management, and flink-shaded-hadoop-2-uber for creating a fat jar.
> In this kind of setup the dependency management in {{flink-shaded-hadoop-2}} is ignored by the {{-uber}} module; dependency management entries only apply if they are located in a parent module or within the module itself.
> As a result flink-shaded-hadoop-2-uber is bundling the wrong versions of several dependencies; among others we bundle commons-collections 3.2.1, instead of 3.2.2, which has a security issue.



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