This is an automated email from the ASF dual-hosted git repository. xxyu 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 4990957 KYLIN-4854 Fix some errors in system cube document 4990957 is described below commit 499095750a7f1b8e20eca2075d95d185e0b57300 Author: yaqian.zhang <598593...@qq.com> AuthorDate: Tue Mar 2 15:35:22 2021 +0800 KYLIN-4854 Fix some errors in system cube document --- website/_docs/tutorial/setup_systemcube.cn.md | 6 ++++-- website/_docs/tutorial/setup_systemcube.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/website/_docs/tutorial/setup_systemcube.cn.md b/website/_docs/tutorial/setup_systemcube.cn.md index 86a3cdb..da1e6e9 100644 --- a/website/_docs/tutorial/setup_systemcube.cn.md +++ b/website/_docs/tutorial/setup_systemcube.cn.md @@ -118,11 +118,13 @@ sh ${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.tool.job.CubeBuildingCLI --cube $ 从kylin 2.6.0 开始提供 system-cube.sh 脚本,用户可以通过执行此脚本来自动创建系统 Cube。 -- 创建系统 Cube:`sh system-cube.sh setup` +- 创建系统 Cube:`sh bin/system-cube.sh setup` - 构建系统 Cube:`sh bin/system-cube.sh build` -- 为系统 Cube 添加定时任务:`bin/system.sh cron` +- 为系统 Cube 添加定时任务:`sh bin/system-cube.sh cron` + +**注意**:System-cube.sh 会调用 ${KYLIN_HOME}/bin/build-incremental-cube.sh 脚本来提交构建任务,build-incremental-cube.sh 中默认使用 ADMIN:KYLIN 的用户名和密码作为 authtication 来调用 kylin 的 rebuild API,如果您修改了 ADMIN 用户的密码或者想使用 ADMIN 以外的用户来提交构建任务,请找到 build-incremental-cube.sh 中的 ADMIN:KYLIN,将其替换为正确的用户名和密码。 ## <span id="系统 Cube 的细节">系统 Cube 的细节</span> diff --git a/website/_docs/tutorial/setup_systemcube.md b/website/_docs/tutorial/setup_systemcube.md index 70cecad..da92ff6 100644 --- a/website/_docs/tutorial/setup_systemcube.md +++ b/website/_docs/tutorial/setup_systemcube.md @@ -125,11 +125,13 @@ sh ${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.tool.job.CubeBuildingCLI --cube $ Kylin provides system-cube.sh from v2.6.0, users can automatically create system cube by executing this script. -- Create System Cube:`sh system-cube.sh setup` +- Create System Cube:`sh bin/system-cube.sh setup` - Build System Cube:`sh bin/system-cube.sh build` -- Add crontab job for System Cube:`bin/system.sh cron` +- Add crontab job for System Cube:`sh bin/system-cube.sh cron` + +**Note**: System-cube.sh will call ${KYLIN_HOME}/bin/build-incremental-cube.sh to submit build job. In build-incremental-cube.sh, the user name and password of ADMIN:KYLIN are used by default as authentication to call kylin's rebuild API. If you have changed the password of the ADMIN user or want to use a user other than ADMIN to submit the build job, please find the ADMIN:KYLIN in build-incremental-cube.sh and replace it with the correct user name and password. ## <span id="Details of System Cube">Details of System Cube</span>