kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qhz...@apache.org
Subject [2/2] incubator-kylin git commit: minor set MR sampling default percentage to 100
Date Thu, 22 Oct 2015 07:08:31 GMT
minor set MR sampling default percentage to 100


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

Branch: refs/heads/2.x-staging
Commit: a2425c0b4be8eb581e2916a493b8f897437a0372
Parents: 801a792
Author: qianhao.zhou <qianzhou@ebay.com>
Authored: Thu Oct 15 16:07:09 2015 +0800
Committer: qianhao.zhou <qianzhou@ebay.com>
Committed: Wed Oct 21 14:47:20 2015 +0800

----------------------------------------------------------------------
 build/conf/kylin.properties                                      | 4 ++--
 .../src/main/java/org/apache/kylin/common/KylinConfig.java       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/a2425c0b/build/conf/kylin.properties
----------------------------------------------------------------------
diff --git a/build/conf/kylin.properties b/build/conf/kylin.properties
index 5b56f31..fe953fc 100644
--- a/build/conf/kylin.properties
+++ b/build/conf/kylin.properties
@@ -51,8 +51,8 @@ kylin.job.cubing.inMem=true
 #default compression codec for htable,snappy,lzo,gzip,lz4
 kylin.hbase.default.compression.codec=snappy
 
-#the percentage of the sampling, default 25%
-kylin.job.cubing.inMem.sampling.percent=25
+#the percentage of the sampling, default 100%
+kylin.job.cubing.inMem.sampling.percent=100
 
 # The cut size for hbase region, in GB.
 # E.g, for cube whose capacity be marked as "SMALL", split region per 10GB by default

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/a2425c0b/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java
----------------------------------------------------------------------
diff --git a/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java b/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java
index 5f8fb07..709e5aa 100644
--- a/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java
+++ b/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java
@@ -505,7 +505,7 @@ public class KylinConfig implements Serializable {
     }
 
     public int getCubingInMemSamplingPercent() {
-        int percent = Integer.parseInt(this.getOptional(KYLIN_JOB_CUBING_IN_MEM_SAMPLING_PERCENT,
"5"));
+        int percent = Integer.parseInt(this.getOptional(KYLIN_JOB_CUBING_IN_MEM_SAMPLING_PERCENT,
"100"));
         percent = Math.max(percent, 1);
         percent = Math.min(percent, 100);
         return percent;


Mime
View raw message