Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions website/_docs/install/configuration.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -265,14 +278,16 @@ 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
- `kylin.cube.aggrgroup.is-mandatory-only-valid`:是否允许 Cube 只包含 Base Cuboid,默认值为 FALSE,当使用 Spark Cubing 时需设置为 TRUE
- `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




Expand Down
18 changes: 16 additions & 2 deletions website/_docs/install/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down