[
https://issues.apache.org/jira/browse/FLINK-8009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-8009:
------------------------------------
Description:
The promotion of transitive dependencies in flink-runtime causes flink-dist to
contain _all _ transitive dependencies from flink-shaded-hadoop.
We will either have to add an exclusion for each dependency to flink-dist, set
flink-shaded-hadoop to provided in flink-runtime (hacky, but less intrusive),
or remove the promotion and explicitly depend on various akka dependencies.
was:
The promotion of transitive dependencies in flink-runtime causes flink-dist to
contain all transitive dependencies from flink-shaded-hadoop.
That is, these are included:
{code}
| +- org.tukaani:xz:jar:1.0:compile
| +- org.apache.avro:avro:jar:1.8.2:compile
| | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
| | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
| +- com.thoughtworks.paranamer:paranamer:jar:2.7:compile
| +- xmlenc:xmlenc:jar:0.52:compile
| +- commons-codec:commons-codec:jar:1.10:compile
| +- commons-net:commons-net:jar:3.1:compile
| +- commons-el:commons-el:jar:1.0:runtime
| +- commons-logging:commons-logging:jar:1.1.3:compile
| +- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
| +- commons-lang:commons-lang:jar:2.6:compile
| +- commons-configuration:commons-configuration:jar:1.7:compile
| +- commons-digester:commons-digester:jar:1.8.1:compile
| +- com.jcraft:jsch:jar:0.1.42:compile
| +- commons-beanutils:commons-beanutils-bean-collections:jar:1.8.3:compile
| +- commons-daemon:commons-daemon:jar:1.0.13:compile
| +- com.sun.jersey:jersey-client:jar:1.9:compile
| +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
| +- javax.xml.stream:stax-api:jar:1.0-2:compile
| \- javax.activation:activation:jar:1.1:compile
{code}
We will either have to add an exclusion for each dependency to flink-dist, set
flink-shaded-hadoop to provided in flink-runtime (hacky, but less intrusive),
or remove the promotion and explicitly depend on various akka dependencies.
> flink-dist contains flink-runtime's transitive hadoop dependencies
> ------------------------------------------------------------------
>
> Key: FLINK-8009
> URL: https://issues.apache.org/jira/browse/FLINK-8009
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.4.0, 1.5.0
> Reporter: Chesnay Schepler
> Priority: Blocker
> Fix For: 1.4.0, 1.5.0
>
>
> The promotion of transitive dependencies in flink-runtime causes flink-dist
> to contain _all _ transitive dependencies from flink-shaded-hadoop.
> We will either have to add an exclusion for each dependency to flink-dist,
> set flink-shaded-hadoop to provided in flink-runtime (hacky, but less
> intrusive), or remove the promotion and explicitly depend on various akka
> dependencies.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)