And to add to what Osman said, the upcoming Storm 0.9.2 version will be
using Kryo 2.21.  There are two main reasons:  first, Kryo 2.21 fixes
potential data corruption issues of prior Kryo versions;  second,
updating to 2.21 syncs Storm's Kryo dependency with other, "nice to
have" libraries for data processing such as Twitter Chill/Bijection.

FYI:  Kryo is not tracked as a direct dependency in Storm's pom.xml [1].
 Instead it is pulled in as a transitive dependency of Carbonite [2],
which is a Clojure library for working with Kryo.  And Carbonite 1.4.0
requires Kryo 2.21 [3].

Here are the relevant snippets in Storm's pom.xml:

    <carbonite.version>1.4.0</carbonite.version>

    <dependency>
        <groupId>com.twitter</groupId>
        <artifactId>carbonite</artifactId>
        <version>${carbonite.version}</version>
    </dependency>

You can also run

    $ mvn dependency:tree

in the top-level directory in the git repository to generate the
dependency tree of Storm.  (You may need to run `mvn install` first,
otherwise e.g. storm-starter will complain about not finding
0.9.2-SNAPSHOT jars.)

Best,
Michael



[1] https://github.com/apache/incubator-storm/blob/master/pom.xml
[2] https://github.com/sritchie/carbonite
[3] https://github.com/sritchie/carbonite/blob/1.4.0/project.clj#L8


On 01/29/2014 12:36 PM, Osman wrote:
> 0.9.0.1 is using kryo/2.17
> <http://mvnrepository.com/artifact/com.esotericsoftware.kryo/kryo/2.17> 
> 
> 
> On 29 January 2014 11:24, Klausen Schaefersinho
> <klaus.schaef...@gmail.com <mailto:klaus.schaef...@gmail.com>> wrote:
> 
>     Hi,
> 
>     which version of kryo is used in Storm? I have an dependency which
>     also uses kryo and thus I have some runtime issues! I was looking
>     into the pom.xml but could find it.
> 
>     Cheers,
> 
>     klaus

Reply via email to