You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ja...@apache.org on 2018/05/06 03:02:22 UTC

carbondata git commit: [CARBONDATA-2439][Pom] upgrade guava version for bloom datamap

Repository: carbondata
Updated Branches:
  refs/heads/master 7a697fd3c -> f2fb06806


[CARBONDATA-2439][Pom] upgrade guava version for bloom datamap

upgrade guava version from 11.0.2(provided by hadoop) to 14.0.1(provided by spark)

The dependency scope in carbon-bloom is compile, because provide scope will cause Class/MethodNotFound failure during tests. But never mind, we remove the guava dependency in carbon-assembly.

This closes #2271


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

Branch: refs/heads/master
Commit: f2fb06806a2c336d06c089ed9087bca672742fc7
Parents: 7a697fd
Author: xuchuanyin <xu...@hust.edu.cn>
Authored: Fri May 4 21:52:16 2018 +0800
Committer: Jacky Li <ja...@qq.com>
Committed: Sun May 6 11:00:30 2018 +0800

----------------------------------------------------------------------
 datamap/bloom/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/f2fb0680/datamap/bloom/pom.xml
----------------------------------------------------------------------
diff --git a/datamap/bloom/pom.xml b/datamap/bloom/pom.xml
index 6ba856a..b7db969 100644
--- a/datamap/bloom/pom.xml
+++ b/datamap/bloom/pom.xml
@@ -22,6 +22,20 @@
       <groupId>org.apache.carbondata</groupId>
       <artifactId>carbondata-core</artifactId>
       <version>${project.version}</version>
+      <exclusions>
+        <!--ignore guava 11.0.2 introduced by hadoop-->
+        <exclusion>
+          <groupId>com.google.guava</groupId>
+          <artifactId>guava</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <!--note: guava 14.0.1 is omitted during assembly.
+    The compile scope here is for building and running test-->
+    <dependency>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava</artifactId>
+      <version>14.0.1</version>
     </dependency>
     <dependency>
       <groupId>org.scalatest</groupId>