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:37:01 UTC
[jira] [Closed] (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 closed FLINK-13996.
----------------------------------
Fix Version/s: 1.13.0
Resolution: Fixed
Resolved in https://github.com/apache/flink/commit/767a8c1dbd428c5198d3b9dd82b5936f3741136d
> 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
> Labels: pull-request-available
> Fix For: 1.13.0
>
>
> 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)