You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2021/01/29 11:03:00 UTC

[jira] [Assigned] (FLINK-13996) Maven instructions for 3.3+ do not cover all shading special cases

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

Robert Metzger reassigned FLINK-13996:
--------------------------------------

    Assignee: Robert Metzger

> Maven instructions for 3.3+ do not cover all shading special cases
> ------------------------------------------------------------------
>
>                 Key: FLINK-13996
>                 URL: https://issues.apache.org/jira/browse/FLINK-13996
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System, Documentation
>    Affects Versions: 1.8.0
>            Reporter: Chesnay Schepler
>            Assignee: Robert Metzger
>            Priority: Major
>
> When building Flink on Maven 3.3+ extra care must be taken to ensure that the shading works as expected. Since 3.3 the dependency graph is immutable, as a result of which downstream modules (like flink-dist) see the unaltered set of dependencies of bundled modules; regardless of these were bundled or not. As a result dependencies may be bundled multiple times (original and relocated versions).
> The [instructions for building Flink with Maven 3.3+|https://ci.apache.org/projects/flink/flink-docs-master/flinkDev/building.html#dependency-shading] correctly point out that flink-dist must be built separately, however (at the very least) all filesystems relying on {{flink-fs-hadoop-shaded}} are also affected.



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