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/11/27 08:09:53 UTC

[kylin] branch document updated: detailed configurations could be override in the Cube-level

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch document
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/document by this push:
     new 504e4f7  detailed configurations could be override in the Cube-level
504e4f7 is described below

commit 504e4f76b5a6fec1be284df8445a725b6f1d6b9e
Author: DDDQ <di...@kyligence.io>
AuthorDate: Wed Nov 21 21:28:47 2018 +0800

    detailed configurations could be override in the Cube-level
    
    Signed-off-by: shaofengshi <sh...@apache.org>
---
 website/_docs/install/configuration.cn.md | 27 +++++++++++++++++++++------
 website/_docs/install/configuration.md    | 18 ++++++++++++++++--
 2 files changed, 37 insertions(+), 8 deletions(-)

diff --git a/website/_docs/install/configuration.cn.md b/website/_docs/install/configuration.cn.md
index 4f298dc..ed47682 100644
--- a/website/_docs/install/configuration.cn.md
+++ b/website/_docs/install/configuration.cn.md
@@ -12,9 +12,9 @@ permalink: /cn/docs/install/configuration.html
 	- [配置重写](#config-override)
 		- [项目级别配置重写](#project-config-override)
 		- [Cube 级别配置重写](#cube-config-override)
-		- [MapReduce 任务配置重写](#mr-config-override)
-		- [Hive 任务配置重写](#hive-config-override)
-		- [Spark 任务配置重写](#spark-config-override)
+		- [重写 MapReduce 参数](#mr-config-override)
+		- [重写 Hive 参数](#hive-config-override)
+                - [重写 Spark 参数](#spark-config-override)
 - [部署配置](#kylin-deploy)
     - [部署 Kylin](#deploy-config)
 	- [分配更多内存给 Kylin 实例](#kylin-jvm-settings)
@@ -28,7 +28,7 @@ permalink: /cn/docs/install/configuration.html
     - [Hive 客户端 & SparkSQL](#hive-client-and-sparksql)
     - [配置 JDBC 数据源](#jdbc-datasource)
     - [数据类型精度](#precision-config)
-    - [Cube 设置](#cube-config)
+    - [Cube 设计](#cube-config)
     - [Cube 大小估计](#cube-estimate)
 	- [Cube 构建算法](#cube-algorithm)
 	- [自动合并](#auto-merge)
@@ -98,6 +98,20 @@ Kylin 会自动从环境中读取 Hadoop 配置(`core-site.xml`),Hive 配
 在设计 Cube (**Cube Designer**)的 **Configuration Overwrites** 步骤可以添加配置项,进行 Cube 级别的配置重写,如下图所示:
 ![](/images/install/override_config_cube.png)
 
+以下参数可以在 Cube 级别重写:
+
+- `kylin.cube.size-estimate*`
+- `kylin.cube.algorithm*`
+- `kylin.cube.aggrgroup*`
+- `kylin.metadata.dimension-encoding-max-length`
+- `kylin.cube.max-building-segments`
+- `kylin.cube.is-automerge-enabled`
+- `kylin.job.allow-empty-segment`
+- `kylin.job.sampling-percentage`
+- `kylin.source.hive.redistribute-flat-table`
+- `kylin.engine.spark*`
+- `kylin.query.skip-empty-segments`
+
 
 
 ### MapReduce 任务配置重写	{#mr-config-override}
@@ -194,7 +208,6 @@ export KYLIN_JVM_SETTINGS="-Xms1024M -Xmx4096M -Xss1024K -XX`MaxPermSize=512M -v
 ### 元数据相关 {#metadata}
 
 - `kylin.metadata.url`:指定元数据库路径,默认值为 kylin_metadata@hbase
-- `kylin.metadata.dimension-encoding-max-length`:指定维度作为 Rowkeys 时使用 fix_length 编码时的最大长度,默认值为 256
 - `kylin.metadata.sync-retries`:指定元数据同步重试次数,默认值为 3 
 - `kylin.metadata.sync-error-handler`:默认值为 `DefaultSyncErrorHandler`
 - `kylin.metadata.check-copy-on-write`:清除元数据缓存,默认值为 `FALSE`
@@ -265,7 +278,7 @@ export KYLIN_JVM_SETTINGS="-Xms1024M -Xmx4096M -Xss1024K -XX`MaxPermSize=512M -v
 
 
 
-### Cube 设置 {#cube-config}
+### Cube 设计 {#cube-config}
 
 - `kylin.cube.ignore-signature-inconsistency`:Cube desc 中的 signature 信息能保证 Cube 不被更改为损坏状态,默认值为 FALSE
 - `kylin.cube.aggrgroup.max-combination`:指定一个 Cube 的聚合组 Cuboid 上限,默认值为 32768
@@ -273,6 +286,8 @@ export KYLIN_JVM_SETTINGS="-Xms1024M -Xmx4096M -Xss1024K -XX`MaxPermSize=512M -v
 - `kylin.cube.rowkey.max-size`:指定可以设置为 Rowkeys 的最大列数,默认值为 63
 - `kylin.cube.allow-appear-in-multiple-projects`:是否允许一个 Cube 出现在多个项目中
 - `kylin.cube.gtscanrequest-serialization-level`:默认值为 1
+- `kylin.metadata.dimension-encoding-max-length`:指定维度作为 Rowkeys 时使用 fix_length 编码时的最大长度,默认值为 256
+
 
 
 
diff --git a/website/_docs/install/configuration.md b/website/_docs/install/configuration.md
index c821740..cad8b96 100644
--- a/website/_docs/install/configuration.md
+++ b/website/_docs/install/configuration.md
@@ -88,16 +88,30 @@ Some configuration files in `$KYLIN_HOME/conf/` can be overridden in the Web UI.
 
 ### Project-level Configuration Overriding {#project-config-override}
 
-Click *Manage Project* in the web UI interface, select a project, click *Edit* -> *Project Config* -> *+ Property* to add configuration properties which could override property values in configuration files, as the figure below shown:
+Click *Manage Project* in the web UI interface, select a project, click *Edit* -> *Project Config* -> *+ Property* to add configuration properties which could override property values in configuration files, as the figure below shown,
 ![](/images/install/override_config_project.png)
 
 
 
 ### Cube-level Configuration Overriding		{#cube-config-override}
 
-In the *Configuration overrides* step of *Cube Designer*, user could rewrite property values to override those in project level and configuration files, as the figure below shown: 
+In the *Configuration overrides* step of *Cube Designer*, user could rewrite property values to override those in project level and configuration files, as the figure below shown,
 ![](/images/install/override_config_cube.png)
 
+The following configurations can be override in the Cube-level,
+
+- `kylin.cube.size-estimate*`
+- `kylin.cube.algorithm*`
+- `kylin.cube.aggrgroup*`
+- `kylin.metadata.dimension-encoding-max-length`
+- `kylin.cube.max-building-segments`
+- `kylin.cube.is-automerge-enabled`
+- `kylin.job.allow-empty-segment`
+- `kylin.job.sampling-percentage`
+- `kylin.source.hive.redistribute-flat-table`
+- `kylin.engine.spark*`
+- `kylin.query.skip-empty-segments`
+
 
 
 ### MapReduce Configuration Overriding {#mr-config-override}