Skip to content

Commit

Permalink
[FLINK-3145][storm] pin Kryo version of transitive dependencies
Browse files Browse the repository at this point in the history
This closes apache#1441.
  • Loading branch information
mxm committed Dec 9, 2015
1 parent e28b62e commit b2aa1d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/apis/storm_compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Add the following dependency to your `pom.xml` if you want to execute Storm code
</dependency>
~~~

**Please note**: Do not add `storm-core` as a dependency. It is already included via `flink-storm`.

**Please note**: `flink-storm` is not part of the provided binary Flink distribution.
Thus, you need to include `flink-storm` classes (and their dependencies) in your program jar that is submitted to Flink's JobManager.
See *WordCount Storm* within `flink-storm-examples/pom.xml` for an example how to package a jar correctly.
Expand Down
7 changes: 7 additions & 0 deletions flink-contrib/flink-storm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ under the License.
<packaging>jar</packaging>

<dependencies>
<dependency>
<!-- Together with the dependency management section in flink-parent, this
pins the Kryo version of transitive dependencies to the Flink Kryo version -->
<groupId>com.esotericsoftware.kryo</groupId>
<artifactId>kryo</artifactId>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java</artifactId>
Expand Down

0 comments on commit b2aa1d9

Please sign in to comment.