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 2016/06/09 13:01:20 UTC

[jira] [Commented] (FLINK-4034) Dependency convergence on com.101tec:zkclient and com.esotericsoftware.kryo:kryo

    [ https://issues.apache.org/jira/browse/FLINK-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322456#comment-15322456 ] 

Robert Metzger commented on FLINK-4034:
---------------------------------------

Hi, thank you for opening this issue.

We rely on the dependency version specified in Flink, not by transitive dependencies.
So in the case of Kryo, we rely on 2.24, for the zkclient, its 0.7.
I think that maven's dependency resolution is preferring the dependency versions specified by Flink over our transitive dependencies.

How do you plan to fix these issues?

> Dependency convergence on com.101tec:zkclient and com.esotericsoftware.kryo:kryo
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-4034
>                 URL: https://issues.apache.org/jira/browse/FLINK-4034
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0.3
>            Reporter: Vladislav Pernin
>
> If dependency convergence is enabled and asserted on Maven, projects using Flink do not compile.
> Example :
> {code}
> Dependency convergence error for com.esotericsoftware.kryo:kryo:2.24.0 paths to dependency are:
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-java:1.0.3
>     +-org.apache.flink:flink-core:1.0.3
>       +-com.esotericsoftware.kryo:kryo:2.24.0
> and
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-streaming-java_2.11:1.0.3
>     +-org.apache.flink:flink-runtime_2.11:1.0.3
>       +-com.twitter:chill_2.11:0.7.4
>         +-com.twitter:chill-java:0.7.4
>           +-com.esotericsoftware.kryo:kryo:2.21
> and
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-streaming-java_2.11:1.0.3
>     +-org.apache.flink:flink-runtime_2.11:1.0.3
>       +-com.twitter:chill_2.11:0.7.4
>         +-com.esotericsoftware.kryo:kryo:2.21
> {code}		
> 		
> {code}
> Dependency convergence error for com.101tec:zkclient:0.7 paths to dependency are:
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-connector-kafka-0.8_2.11:1.0.3
>     +-org.apache.flink:flink-connector-kafka-base_2.11:1.0.3
>       +-com.101tec:zkclient:0.7
> and
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-connector-kafka-0.8_2.11:1.0.3
>     +-org.apache.kafka:kafka_2.11:0.8.2.2
>       +-com.101tec:zkclient:0.3
> {code}
> I cannot emit a pull request without knowing on which specifics versions you rely.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)