Skip to content

Commit c3b8d27

Browse files
committed
SPARK-5607: Update to Kryo 2.24.0 to avoid including objenesis 1.2.
Our existing Kryo version actually embeds objenesis 1.2 classes in its jar, causing dependency conflicts during tests. This updates us to Kryo 2.24.0 (which was changed to not embed objenesis) to avoid this behavior.
1 parent 9a7ce70 commit c3b8d27

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
<jblas.version>1.2.3</jblas.version>
137137
<jetty.version>8.1.14.v20131031</jetty.version>
138138
<chill.version>0.5.0</chill.version>
139+
<kryo.version>2.24.0</kryo.version>
139140
<ivy.version>2.4.0</ivy.version>
140141
<oro.version>2.0.8</oro.version>
141142
<codahale.metrics.version>3.1.0</codahale.metrics.version>
@@ -340,7 +341,13 @@
340341
</exclusion>
341342
</exclusions>
342343
</dependency>
343-
344+
<!-- Bump kryo version (included via chill) due to SPARK-5607 -->
345+
<dependency>
346+
<groupId>com.esotericsoftware.kryo</groupId>
347+
<artifactId>kryo</artifactId>
348+
<version>${kryo.version}</version>
349+
</dependency>
350+
344351
<!-- Shaded deps marked as provided. These are promoted to compile scope
345352
in the modules where we want the shaded classes to appear in the
346353
associated jar. -->

0 commit comments

Comments
 (0)