Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master d7ef38d48 -> dcfa3b5df


fix: include snappy and lz4 jars for deployment

The Cassandra interpreter supports both SNAPPY and LZ4 protocol
compression options but the required libraries are not included in the
distribution. By including both jars in the build, deployment is
simplified allow for simple configuration changes to utilize the
either the SNAPPY and LZ4 protocol compression choices.

Fixes https://issues.apache.org/jira/browse/ZEPPELIN-208

Author: Jon Buffington <[email protected]>

Closes #189 from jonbuffington/cassandra-compression and squashes the following 
commits:

0d9789d [Jon Buffington] fix: include snappy and lz4 jars for deployment


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

Branch: refs/heads/master
Commit: dcfa3b5df85c86f082d43628e7af6c896e5349a6
Parents: d7ef38d
Author: Jon Buffington <[email protected]>
Authored: Sat Aug 8 05:51:46 2015 -0400
Committer: Lee moon soo <[email protected]>
Committed: Sun Aug 9 12:50:28 2015 -0700

----------------------------------------------------------------------
 cassandra/pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/dcfa3b5d/cassandra/pom.xml
----------------------------------------------------------------------
diff --git a/cassandra/pom.xml b/cassandra/pom.xml
index e12c750..08f353f 100644
--- a/cassandra/pom.xml
+++ b/cassandra/pom.xml
@@ -35,6 +35,8 @@
 
     <properties>
         <cassandra.driver.version>2.1.7.1</cassandra.driver.version>
+        <snappy.version>1.0.5.4</snappy.version>
+        <lz4.version>1.2.0</lz4.version>
         <scala.version>2.11.7</scala.version>
         <scala.binary.version>2.11</scala.binary.version>
         <commons-lang.version>3.3.2</commons-lang.version>
@@ -62,6 +64,23 @@
             <version>${cassandra.driver.version}</version>
         </dependency>
 
+        <!-- Compression libraries for the cassandra-driver protocol. -->
+        <!-- Include both compression options to make to simplify deployment. 
-->
+
+        <dependency>
+            <groupId>org.xerial.snappy</groupId>
+            <artifactId>snappy-java</artifactId>
+            <version>${snappy.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>net.jpountz.lz4</groupId>
+            <artifactId>lz4</artifactId>
+            <version>${lz4.version}</version>
+        </dependency>
+
+        <!-- End of compression libraries -->
+
         <dependency>
             <groupId>org.scala-lang</groupId>
             <artifactId>scala-compiler</artifactId>

Reply via email to