Skip to content

Commit

Permalink
[FLINK-8295] [cassandra] [build] Properly shade netty for the datasta…
Browse files Browse the repository at this point in the history
…x driver

com.datastax.driver.core.NettyUtil expects netty to be present either at its
original package or relocated to com.datastax.shaded.netty. By relocating it
to this package we make sure the driver follows its designated path.

This closes apache#5183.
  • Loading branch information
Nico Kruber authored and twalthr committed Dec 20, 2017
1 parent 2142eed commit 1a98e32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flink-connectors/flink-connector-cassandra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ under the License.
</excludes>
</relocation>
<!--
For the details of relocation pattern, refer the discussion at
https://github.com/apache/flink/pull/4545
FLINK-6805
Relocate to datastax' package where it
expects shaded netty versions; see
https://issues.apache.org/jira/browse/FLINK-8295
-->
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>org.apache.flink.cassandra.shaded.io.netty</shadedPattern>
<shadedPattern>com.datastax.shaded.netty</shadedPattern>
</relocation>
</relocations>
</configuration>
Expand Down

0 comments on commit 1a98e32

Please sign in to comment.