You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2018/01/24 21:30:57 UTC

[2/5] flink git commit: [hotfix] [build] Converge Kryo dependency

[hotfix] [build] Converge Kryo dependency

Previously, the Kryo dependency was diverging between the flink-core dependency
and the chill dependency.

[INFO] +- org.apache.flink:flink-java:jar:1.4.0:compile
[INFO] |  +- org.apache.flink:flink-core:jar:1.4.0:compile
[INFO] |  |  +- com.esotericsoftware.kryo:kryo:jar:2.24.0:compile
....
[INFO] +- org.apache.flink:flink-streaming-java_2.11:jar:1.4.0:compile
[INFO] |  +- (org.apache.flink:flink-core:jar:1.4.0:compile - omitted for
duplicate)
[INFO] |  +- org.apache.flink:flink-runtime_2.11:jar:1.4.0:compile
[INFO] |  |  +- com.twitter:chill_2.11:jar:0.7.4:compile
[INFO] |  |  |  +- com.twitter:chill-java:jar:0.7.4:compile
[INFO] |  |  |  |  \- (com.esotericsoftware.kryo:kryo:jar:2.21:compile -
omitted for conflict with 2.24.0)
[INFO] |  |  |  \- (com.esotericsoftware.kryo:kryo:jar:2.21:compile -
omitted for conflict with 2.24.0)


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/a8ea1698
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/a8ea1698
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/a8ea1698

Branch: refs/heads/release-1.4
Commit: a8ea1698f44614ec9f35d9307b3294e4c165fcf0
Parents: 15cb057
Author: Stephan Ewen <se...@apache.org>
Authored: Wed Jan 24 10:02:00 2018 +0100
Committer: Stephan Ewen <se...@apache.org>
Committed: Wed Jan 24 18:06:14 2018 +0100

----------------------------------------------------------------------
 flink-runtime/pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/a8ea1698/flink-runtime/pom.xml
----------------------------------------------------------------------
diff --git a/flink-runtime/pom.xml b/flink-runtime/pom.xml
index abbe47f..a8c583b 100644
--- a/flink-runtime/pom.xml
+++ b/flink-runtime/pom.xml
@@ -180,6 +180,13 @@ under the License.
 			<groupId>com.twitter</groupId>
 			<artifactId>chill_${scala.binary.version}</artifactId>
 			<version>${chill.version}</version>
+			<exclusions>
+				<!-- Remove Kryo dependency to force using Flink's own Kryo dependency -->
+				<exclusion>
+					<groupId>com.esotericsoftware.kryo</groupId>
+					<artifactId>kryo</artifactId>
+				</exclusion>
+			</exclusions>
 		</dependency>
 
 		<!-- Curator and ZooKeeper - we explicitly add ZooKeeper here as