You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2019/12/05 06:01:49 UTC

[kylin] branch document updated: Add doc for KYLIN-4178

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

nic 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 d55212e  Add doc for KYLIN-4178
d55212e is described below

commit d55212e8bc5188fe1e9b3cb74818a4e4e49cff82
Author: Zhou Kang <zh...@xiaomi.com>
AuthorDate: Tue Dec 3 20:41:04 2019 +0800

    Add doc for KYLIN-4178
---
 website/_docs/install/configuration.cn.md |  9 ++++++++-
 website/_docs/install/configuration.md    | 10 +++++++++-
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/website/_docs/install/configuration.cn.md b/website/_docs/install/configuration.cn.md
index 8c55daa..f7e6e9b 100644
--- a/website/_docs/install/configuration.cn.md
+++ b/website/_docs/install/configuration.cn.md
@@ -19,6 +19,7 @@ permalink: /cn/docs/install/configuration.html
     - [部署 Kylin](#deploy-config)
 	- [分配更多内存给 Kylin 实例](#kylin-jvm-settings)
 	- [任务引擎高可用](#job-engine-ha)
+	- [任务引擎安全模式](#job-engine-safemode)
 	- [读写分离配置](#rw-deploy)
 	- [RESTful Webservice](#rest-config)
 - [Metastore 配置](#kylin_metastore)
@@ -180,6 +181,12 @@ export KYLIN_JVM_SETTINGS="-Xms1024M -Xmx4096M -Xss1024K -XX`MaxPermSize=512M -v
 > 提示:更多信息请参考 [集群模式部署](/cn/docs/install/kylin_cluster.html) 中的**任务引擎高可用**部分。
 
 
+### 任务引擎安全模式   {#job-engine-safemode}
+
+安全模式仅在默认调度器中生效
+
+- `kylin.job.scheduler.safemode=TRUE`: 启用安全模式,新提交的任务不会被执行。
+- `kylin.job.scheduler.safemode.runable-projects=project1,project2`: 安全模式下仍然可以执行的项目列表,支持设置多个。
 
 ### 读写分离配置   {#rw-deploy}
 
@@ -730,4 +737,4 @@ kylin.cache.memcached.hosts=memcached1:11211,memcached2:11211,memcached3:11211
 - `kylin.query.lazy-query-enabled` 是否为短时间内重复发送的查询,等待并重用前次查询的结果,默认为 `false`。  
 - `kylin.query.cache-signature-enabled` 是否为缓存进行签名检查,依据签名变化来决定缓存的有效性。缓存的签名由项目中的 cube / hybrid 的状态以及它们的最后构建时间等来动态计算(在缓存被记录时),默认为 `false`,高度推荐设置为 `true`。 
 - `kylin.query.segment-cache-enabled` 是否在 segment 级别缓存从 存储引擎(HBase)返回的数据,默认为 `false`;设置为 `true`,且启用 Memcached 分布式缓存开启的时候,此功能才会生效。可为频繁构建的 cube (如 streaming cube)提升缓存命中率,从而提升性能。
-- `kylin.cache.memcached.hosts` 指明了 memcached 的机器名和端口。
\ No newline at end of file
+- `kylin.cache.memcached.hosts` 指明了 memcached 的机器名和端口。
diff --git a/website/_docs/install/configuration.md b/website/_docs/install/configuration.md
index 40ad181..b2aa0ae 100644
--- a/website/_docs/install/configuration.md
+++ b/website/_docs/install/configuration.md
@@ -18,6 +18,7 @@ permalink: /docs/install/configuration.html
     - [Deploy Kylin](#deploy-config)
 	- [Allocate More Memory for Kylin](#kylin-jvm-settings)
 	- [Job Engine HA](#job-engine-ha)
+	- [Job Engine Safemode](#job-engine-safemode)
 	- [Read/Write Separation](#rw-deploy)
 	- [RESTful Webservice](#rest-config)
 - [Metastore Configuration](#kylin_metastore)
@@ -181,6 +182,13 @@ Export KYLIN_JVM_SETTINGS="-Xms1024M -Xmx4096M -Xss1024K -XX`MaxPermSize=512M -v
 > Note: For more information, please refer to the **Enable Job Engine HA** section in [Deploy in Cluster Mode](/docs/install/kylin_cluster.html) 
 
 
+### Job Engine Safemode {#job-engine-safemode}
+
+Safemode can be only used in default schedule.
+
+- `kylin.job.scheduler.safemode=TRUE`: to enable job scheduler safemode. In safemode, Newly submitted job will not be executed
+- `kylin.job.scheduler.safemode.runable-projects=project1,project2`: provide list of projects as exceptional case in safemode.
+
 
 ### Read/Write Separation   {#rw-deploy}
 
@@ -723,4 +731,4 @@ kylin.cache.memcached.hosts=memcached1:11211,memcached2:11211,memcached3:11211
 - `kylin.query.lazy-query-enabled` : whether to lazily answer the queries that be sent repeatedly in a short time (hold it until the previous query be returned, and then reuse the result); The default value is `false`. 
 - `kylin.query.cache-signature-enabled` : whether to use the signature of a query to determine the cache's validity. The signature is calculated by the cube/hybrid list of the project, their last build time and other information (at the moment when cache is persisted); It's default value is `false`, highly recommend to set it to `true`.
 - `kylin.query.segment-cache-enabled` : whether to cache the segment level returned data (from HBase storage) into Memcached. This feature is mainly for the cube that built very frequently (e.g, streaming cube, whose last build time always changed a couple minutes, the whole SQL statement level cache is very likely be cleaned; in this case, the by-segment cache can reduce the I/O). This only works when Memcached configured, the default value is `false`.
-- `kylin.cache.memcached.hosts`: a list of memcached node and port, connected with comma.
\ No newline at end of file
+- `kylin.cache.memcached.hosts`: a list of memcached node and port, connected with comma.