kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaofeng...@apache.org
Subject kylin git commit: KYLIN-1077 add calciate-core dependency in kylin-it for parsing view’s semantic
Date Fri, 29 Apr 2016 07:03:59 GMT
Repository: kylin
Updated Branches:
  refs/heads/master dc2e1c23a -> c3cf042c4


KYLIN-1077 add calciate-core dependency in kylin-it for parsing view’s semantic

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

Branch: refs/heads/master
Commit: c3cf042c44820bc416fa8d8fcb52f2a7d845b3c2
Parents: dc2e1c2
Author: shaofengshi <shaofengshi@apache.org>
Authored: Fri Apr 29 15:03:39 2016 +0800
Committer: shaofengshi <shaofengshi@apache.org>
Committed: Fri Apr 29 15:03:39 2016 +0800

----------------------------------------------------------------------
 .../org/apache/kylin/common/KylinConfigBase.java   |  2 +-
 kylin-it/pom.xml                                   | 17 +++++++++++++++++
 .../kylin/provision/BuildCubeWithEngine.java       |  4 ++--
 3 files changed, 20 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/c3cf042c/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
----------------------------------------------------------------------
diff --git a/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java b/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
index ae6382b..b10f3c7 100644
--- a/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
+++ b/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
@@ -408,7 +408,7 @@ abstract public class KylinConfigBase implements Serializable {
         return Integer.parseInt(getOptional("kylin.hbase.region.count.max", "500"));
     }
 
-    public void setHBaseHFileSizeGB(int size) {
+    public void setHBaseHFileSizeGB(float size) {
         setProperty("kylin.hbase.hfile.size.gb", String.valueOf(size));
     }
 

http://git-wip-us.apache.org/repos/asf/kylin/blob/c3cf042c/kylin-it/pom.xml
----------------------------------------------------------------------
diff --git a/kylin-it/pom.xml b/kylin-it/pom.xml
index 1a3efb7..9e1a9e4 100644
--- a/kylin-it/pom.xml
+++ b/kylin-it/pom.xml
@@ -259,6 +259,23 @@
                 </exclusion>
             </exclusions>
         </dependency>
+        <!-- add this for hive-exec, its 0.14 is compiled with calcite 0.9.2 -->
+        <dependency>
+            <groupId>org.apache.calcite</groupId>
+            <artifactId>calcite-core</artifactId>
+            <version>0.9.2-incubating</version>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <artifactId>hsqldb</artifactId>
+                    <groupId>org.hsqldb</groupId>
+                </exclusion>
+                <exclusion>
+                    <artifactId>jackson-databind</artifactId>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                </exclusion>
+            </exclusions>
+        </dependency>
     </dependencies>
 
 

http://git-wip-us.apache.org/repos/asf/kylin/blob/c3cf042c/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java b/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java
index 9343d29..0cb4aea 100644
--- a/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java
+++ b/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java
@@ -154,10 +154,10 @@ public class BuildCubeWithEngine {
 
     public void build() throws Exception {
         DeployUtil.prepareTestDataForNormalCubes("test_kylin_cube_with_slr_empty");
-        KylinConfig.getInstanceFromEnv().setHBaseHFileSizeGB(1);
+        KylinConfig.getInstanceFromEnv().setHBaseHFileSizeGB(1.0f);
         testInner();
         testLeft();
-        KylinConfig.getInstanceFromEnv().setHBaseHFileSizeGB(0);
+        KylinConfig.getInstanceFromEnv().setHBaseHFileSizeGB(0.0f);
     }
 
     protected void waitForJob(String jobId) {


Mime
View raw message