shaofengshi closed pull request #355: detailed configurations could be override 
in the Cube-level
URL: https://github.com/apache/kylin/pull/355
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/website/_docs/install/configuration.cn.md 
b/website/_docs/install/configuration.cn.md
index 4f298dc951..c833da4807 100644
--- a/website/_docs/install/configuration.cn.md
+++ b/website/_docs/install/configuration.cn.md
@@ -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 c8217405c8..cad8b967f9 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}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to