Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To add more dependencies to this external shading, add them to the artifactSet in the flink-parent/pom.xml

Before the pull request mentioned above, Flink was not building a single fat-jar for the binary distribution. This was only done for YARN to reduce the number of files necessary to distribute to all containers.
With this change, we always create one fat-jar containing all flink jars and their dependencies.
If we would stick with the old approach (a jar file for each Flink module), we would end up with a very big binary distribution in the end, because all jars would contain all shaded dependencies (asm, guava etc.).