You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/09/04 01:14:31 UTC
[kylin] branch master updated: KYLIN-3521 Enable Cube Planner by
default
This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new 94afb6b KYLIN-3521 Enable Cube Planner by default
94afb6b is described below
commit 94afb6b9ca1beb26ca3d5a8238a0a9a499e61813
Author: Ma,Gang <ga...@ebay.com>
AuthorDate: Mon Sep 3 11:12:33 2018 +0800
KYLIN-3521 Enable Cube Planner by default
---
.../src/main/java/org/apache/kylin/common/KylinConfigBase.java | 8 ++++----
core-common/src/main/resources/kylin-defaults.properties | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
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 0e9bd93..c583129 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
@@ -505,7 +505,7 @@ abstract public class KylinConfigBase implements Serializable {
}
public long getCubeAggrGroupMaxCombination() {
- return Long.parseLong(getOptional("kylin.cube.aggrgroup.max-combination", "4096"));
+ return Long.parseLong(getOptional("kylin.cube.aggrgroup.max-combination", "32768"));
}
public boolean getCubeAggrGroupIsMandatoryOnlyValid() {
@@ -541,11 +541,11 @@ abstract public class KylinConfigBase implements Serializable {
// ============================================================================
public boolean isCubePlannerEnabled() {
- return Boolean.parseBoolean(getOptional("kylin.cube.cubeplanner.enabled", "false"));
+ return Boolean.parseBoolean(getOptional("kylin.cube.cubeplanner.enabled", "true"));
}
public boolean isCubePlannerEnabledForExistingCube() {
- return Boolean.parseBoolean(getOptional("kylin.cube.cubeplanner.enabled-for-existing-cube", "false"));
+ return Boolean.parseBoolean(getOptional("kylin.cube.cubeplanner.enabled-for-existing-cube", "true"));
}
public double getCubePlannerExpansionRateThreshold() {
@@ -561,7 +561,7 @@ abstract public class KylinConfigBase implements Serializable {
}
public int getCubePlannerAgreedyAlgorithmAutoThreshold() {
- return Integer.parseInt(getOptional("kylin.cube.cubeplanner.algorithm-threshold-greedy", "10"));
+ return Integer.parseInt(getOptional("kylin.cube.cubeplanner.algorithm-threshold-greedy", "8"));
}
public int getCubePlannerGeneticAlgorithmAutoThreshold() {
diff --git a/core-common/src/main/resources/kylin-defaults.properties b/core-common/src/main/resources/kylin-defaults.properties
index 59673d8..66e2fca 100644
--- a/core-common/src/main/resources/kylin-defaults.properties
+++ b/core-common/src/main/resources/kylin-defaults.properties
@@ -203,16 +203,16 @@ kylin.cube.algorithm=layer
# A smaller threshold prefers layer, a larger threshold prefers in-mem
kylin.cube.algorithm.layer-or-inmem-threshold=7
-kylin.cube.aggrgroup.max-combination=4096
+kylin.cube.aggrgroup.max-combination=32768
kylin.snapshot.max-mb=300
-kylin.cube.cubeplanner.enabled=false
-kylin.cube.cubeplanner.enabled-for-existing-cube=false
+kylin.cube.cubeplanner.enabled=true
+kylin.cube.cubeplanner.enabled-for-existing-cube=true
kylin.cube.cubeplanner.expansion-threshold=15.0
kylin.cube.cubeplanner.recommend-cache-max-size=200
kylin.cube.cubeplanner.mandatory-rollup-threshold=1000
-kylin.cube.cubeplanner.algorithm-threshold-greedy=10
+kylin.cube.cubeplanner.algorithm-threshold-greedy=8
kylin.cube.cubeplanner.algorithm-threshold-genetic=23