Apache Kylin : Analytical Data Warehouse for Big Data

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OptionHas Parameter Description
-srcConfigtrue[Required] The KylinConfig of the source cluster with 3 kinds of format:
1. URI uri e.g. user:pwd@host:port.
2. Properties  properties file e.g. /home/kylin/conf/kylin.properties
3. Local  local metadata dir e.g. /home/kylin/meta_backups/meta_2021_04_21_18_29_04
-dstConfigtrue[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
-allCubesfalse[Optional] Migrate migrate all cubes in source cluster.
-cubetrue[Optional] migrate single cube in source cluster, argument value is the cube name to migrate.
-srcProjecttrue[Optional] migrate all cubes under specific project in source cluster, argument value is the project name to migrate.
-dstProjecttrue

[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 a target project.

-migrateSegmentfalse[Optional] migrate segment data
-overwriteIfExistsfalse[Optional] overwrite target cluster's metadata if exists
-purgeAndDisablefalse[Optional] purge source cluster data
-realMigratetrue

[Optional] execute migration, parameter value:

  1. true: execute migration
  2. false: not execute migration
-copyAclfalse [Optional] copy ACL

...