You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2017/12/08 17:23:09 UTC

hbase git commit: HBASE-19387 Fix Hbase-spark Arm64 SnappyError

Repository: hbase
Updated Branches:
  refs/heads/master 503441143 -> 139c3305a


HBASE-19387 Fix Hbase-spark Arm64 SnappyError

The spark version in hbase is 1.6.0.
And the snappy version based on hbase-1.6.0 do not support the Arm64.
The patch is to update the dependency for snappy-java in hbase-spark.

Jira: HBASE-19387

Change-Id: I02449baf43a5b49d1de7065682863ea822e4de88
Signed-off-by: Yuqi Gu <yu...@arm.com>
Signed-off-by: tedyu <yu...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/139c3305
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/139c3305
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/139c3305

Branch: refs/heads/master
Commit: 139c3305a5f3ab2fd09961aff415f66b7f89578b
Parents: 5034411
Author: Yuqi Gu <yu...@arm.com>
Authored: Thu Nov 16 10:04:23 2017 +0000
Committer: tedyu <yu...@gmail.com>
Committed: Fri Dec 8 09:22:59 2017 -0800

----------------------------------------------------------------------
 hbase-spark/pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/139c3305/hbase-spark/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-spark/pom.xml b/hbase-spark/pom.xml
index 1fafd31..a1ac466 100644
--- a/hbase-spark/pom.xml
+++ b/hbase-spark/pom.xml
@@ -77,9 +77,19 @@
            <groupId>com.google.code.findbugs</groupId>
            <artifactId>jsr305</artifactId>
         </exclusion>
+        <exclusion>
+          <!-- exclude the wrong snappy-java version in spark-1.6 -->
+          <groupId>org.xerial.snappy</groupId>
+          <artifactId>snappy-java</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
+      <groupId>org.xerial.snappy</groupId>
+      <artifactId>snappy-java</artifactId>
+      <version>1.1.4</version>
+    </dependency>
+    <dependency>
       <groupId>com.google.code.findbugs</groupId>
       <artifactId>jsr305</artifactId>
       <version>1.3.9</version>