Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13996

Maven instructions for 3.3+ do not cover all shading special cases

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: Build System, Documentation
    • Labels:
      None

      Description

      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+ 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chesnay Chesnay Schepler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: