You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2017/02/10 06:35:11 UTC

kylin git commit: KYLIN-2428 try fix guava in Spark IT again

Repository: kylin
Updated Branches:
  refs/heads/KYLIN-2428 5f4c02f89 -> e40832dc5


KYLIN-2428 try fix guava in Spark IT again


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

Branch: refs/heads/KYLIN-2428
Commit: e40832dc56c465059f087eabecbc0c77e51cf200
Parents: 5f4c02f
Author: Billy Liu <bi...@apache.org>
Authored: Fri Feb 10 14:35:03 2017 +0800
Committer: Billy Liu <bi...@apache.org>
Committed: Fri Feb 10 14:35:03 2017 +0800

----------------------------------------------------------------------
 .../apache/kylin/engine/spark/SparkBatchCubingJobBuilder2.java  | 1 +
 kylin-it/pom.xml                                                | 5 -----
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/e40832dc/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkBatchCubingJobBuilder2.java
----------------------------------------------------------------------
diff --git a/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkBatchCubingJobBuilder2.java b/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkBatchCubingJobBuilder2.java
index 327d215..dd37c26 100644
--- a/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkBatchCubingJobBuilder2.java
+++ b/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkBatchCubingJobBuilder2.java
@@ -60,6 +60,7 @@ public class SparkBatchCubingJobBuilder2 extends BatchCubingJobBuilder2 {
         StringUtil.appendWithSeparator(jars, findJar("org.apache.hadoop.hbase.HBaseConfiguration")); // hbase-common.jar
         StringUtil.appendWithSeparator(jars, findJar("org.apache.hadoop.hbase.util.ByteStringer")); // hbase-protocol.jar
         StringUtil.appendWithSeparator(jars, findJar("com.yammer.metrics.core.Gauge")); // metrics-core.jar
+        StringUtil.appendWithSeparator(jars, findJar("com.google.common.base.Preconditions")); // guava.jar
 
         StringUtil.appendWithSeparator(jars, seg.getConfig().getSparkAdditionalJars());
         sparkExecutable.setJars(jars.toString());

http://git-wip-us.apache.org/repos/asf/kylin/blob/e40832dc/kylin-it/pom.xml
----------------------------------------------------------------------
diff --git a/kylin-it/pom.xml b/kylin-it/pom.xml
index e62eb76..91104ba 100644
--- a/kylin-it/pom.xml
+++ b/kylin-it/pom.xml
@@ -258,11 +258,6 @@
             <artifactId>spark-hive_2.10</artifactId>
             <scope>provided</scope>
         </dependency>
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <scope>provided</scope>
-        </dependency>
     </dependencies>