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 a4d495e  Update cubeMigrationCLI document
a4d495e is described below

commit a4d495e8c256d46d32788c143b47d496dfa72e59
Author: yaqian.zhang <598593...@qq.com>
AuthorDate: Fri Dec 4 18:27:50 2020 +0800

    Update cubeMigrationCLI document
---
 website/_docs/tutorial/cube_migration.cn.md | 4 ++--
 website/_docs/tutorial/cube_migration.md    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/website/_docs/tutorial/cube_migration.cn.md 
b/website/_docs/tutorial/cube_migration.cn.md
index d9cde69..9a8c619 100644
--- a/website/_docs/tutorial/cube_migration.cn.md
+++ b/website/_docs/tutorial/cube_migration.cn.md
@@ -98,7 +98,7 @@ CubeMigrationCLI.java 用于迁移 cubes。例如:将 cube 从测试环境迁
 {% endhighlight %}
 例如:
 {% highlight Groff markup %}
-./bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI kylin-qa:7070 
kylin-prod:7070 kylin_sales_cube learn_kylin true false false true false
+./bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI 
ADMIN:KYLIN@kylin-qa:7070 ADMIN:KYLIN@kylin-prod:7070 kylin_sales_cube 
learn_kylin true false false true false
 {% endhighlight %}
 命令执行成功后,请 reload metadata,您想要迁移的 cube 将会存在于迁移后的 project 中。
 
@@ -109,7 +109,7 @@ CubeMigrationCLI.java 用于迁移 cubes。例如:将 cube 从测试环境迁
 
 | Parameter           | Description                                            
                                    |
 | ------------------- | 
:-----------------------------------------------------------------------------------------
 |
-| srcKylinConfigUri   | The URL of the source environment's Kylin 
configuration. It can be `host:7070`, or an absolute file path to the 
`kylin.properties`.                                                     |
+| srcKylinConfigUri   | The URL of the source environment's Kylin 
configuration. It can be `username:password@host:7070`, or an absolute file 
path to the `kylin.properties`. If you use the URL method, you need to change 
the ADMIN user name and password to username:password@hostname:port format is 
placed in the URL, because there is a API needs to be called with admin 
permission during the migration process. |
 | dstKylinConfigUri   | The URL of the target environment's Kylin 
configuration.                                                 |
 | cubeName            | the name of Cube to be migrated.(Make sure it exist)   
                                    |
 | projectName         | The target project in the target environment.(Make 
sure it exist)                          |
diff --git a/website/_docs/tutorial/cube_migration.md 
b/website/_docs/tutorial/cube_migration.md
index cc4ca67..b4247de 100644
--- a/website/_docs/tutorial/cube_migration.md
+++ b/website/_docs/tutorial/cube_migration.md
@@ -99,7 +99,7 @@ Please note, this tool will migrate the Kylin metadata, 
rename the Kylin HDFS fo
 {% endhighlight %}
 For example: 
 {% highlight Groff markup %}
-./bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI kylin-qa:7070 
kylin-prod:7070 kylin_sales_cube learn_kylin true false false true false
+./bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI 
ADMIN:KYLIN@kylin-qa:7070 ADMIN:KYLIN@kylin-prod:7070 kylin_sales_cube 
learn_kylin true false false true false
 {% endhighlight %}
 After the command is successfully executed, please reload Kylin metadata, the 
cube you want to migrate will appear in the target environment.
 
@@ -111,7 +111,7 @@ All supported parameters are listed below:
 
 | Parameter           | Description                                            
                                    |
 | ------------------- | 
:-----------------------------------------------------------------------------------------
 |
-| srcKylinConfigUri   | The URL of the source environment's Kylin 
configuration. It can be `host:7070`, or an absolute file path to the 
`kylin.properties`.                                                      |
+| srcKylinConfigUri   | The URL of the source environment's Kylin 
configuration. It can be `username:password@host:port`, or an absolute file 
path to the `kylin.properties`.  If you use the URL method, you need to change 
the ADMIN user name and password to username:password@hostname:port format is 
placed in the URL, because there is a API needs to be called with admin 
permission during the migration process.                                        
            |
 | dstKylinConfigUri   | The URL of the target environment's Kylin 
configuration.                                                     |
 | cubeName            | the name of cube to be migrated.                       
                 |
 | projectName         | The target project in the target environment. If it 
doesn't exist, create it before run this command.                          |

Reply via email to