Apache Kylin : Analytical Data Warehouse for Big Data
Page History
...
Option | Has Parameter | Description |
---|---|---|
-srcConfig | true | [Required] The KylinConfig of the source cluster with 3 kinds of format: 1. URI e.g. user:pwd@host:port. 2. Properties file e.g. /home/kylin/conf/kylin.properties 3. Local metadata dir e.g. /home/kylin/meta_backups/meta_2021_04_21_18_29_04 |
-dstConfig | true | Required] The KylinConfig of the target cluster with 3 kinds of format: 1. uri e.g. user:pwd@host:port. 2. properties file e.g. /home/kylin/conf/kylin.properties 3. local metadata dir e.g. /home/kylin/meta_backups/meta_2021_04_21_18_29_04 |
-allCubes | false | [Optional] Migrate all cubes in source cluster. |
-cube | true | [Optional] migrate single cube in source cluster, argument value is the cube name to migrate. |
-srcProject | true | [Optional] migrate all cubes under specific project in source cluster, argument value is the project name to migrate. |
-dstProject | true | [Optional] cube's new project home(will be created if not exists). If not set, keep the same as cube's original project. With this option, we can migrate a "single cube", "a project" or "all cubes" to target cluster. |
-migrateSegment | false | [Optional] migrate segment data |
-overwriteIfExists | false | [Optional] overwrite target cluster's metadata if exists |
-purgeAndDisable | false | [Optional] purge source cluster data |
-realMigrate | true | [Optional] execute migration, parameter value:
|
-copyAcl | false | [Optional] copy ACL |
Please note:
- The URI format of KylinConfig is not backward compatible, for it fetches metadata storage information by http request, older version may not be supported.
- only one of "-cube", "-srcProject", "-allCubes" could only be present to specify metadata to migrate.
- CubeMigrationCli will reload target cluster's metadata, we don't have to restart target cluster.
...
Overview
Content Tools
ThemeBuilder
Apps