KYLIN-1323 give âkylin.hbase.hfile.size.gbâ a default value
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/7df1cc74 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/7df1cc74 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/7df1cc74 Branch: refs/heads/master Commit: 7df1cc74dcd9eda6d315cb9b7af5da9b9007bc9a Parents: 0f48f10 Author: sunyerui <sunye...@gmail.com> Authored: Mon Feb 29 12:12:15 2016 +0800 Committer: sunyerui <sunye...@gmail.com> Committed: Mon Feb 29 12:12:15 2016 +0800 ---------------------------------------------------------------------- build/conf/kylin.properties | 2 +- .../src/main/java/org/apache/kylin/common/KylinConfigBase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/7df1cc74/build/conf/kylin.properties ---------------------------------------------------------------------- diff --git a/build/conf/kylin.properties b/build/conf/kylin.properties index b220b2d..5532339 100644 --- a/build/conf/kylin.properties +++ b/build/conf/kylin.properties @@ -66,7 +66,7 @@ kylin.hbase.region.cut.medium=10 kylin.hbase.region.cut.large=50 # The hfile size of GB, smaller hfile leading to the converting hfile MR has more reducers and be faster -# set to 0 or comment this config to disable this optimization +# set 0 to disable this optimization kylin.hbase.hfile.size.gb=5 # Enable/disable ACL check for cube query http://git-wip-us.apache.org/repos/asf/kylin/blob/7df1cc74/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 3430e0b..0cee9f8 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 @@ -412,7 +412,7 @@ public class KylinConfigBase implements Serializable { } public int getHBaseHFileSizeGB() { - return Integer.parseInt(getOptional("kylin.hbase.hfile.size.gb", "0")); + return Integer.parseInt(getOptional("kylin.hbase.hfile.size.gb", "5")); } public int getScanThreshold() {