You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2020/12/04 04:48:47 UTC

[GitHub] [kylin] zhangayqian commented on pull request #1496: KYLIN-4817 Refine CubeMigrationCLI for kylin4

zhangayqian commented on pull request #1496:
URL: https://github.com/apache/kylin/pull/1496#issuecomment-738562535


   ### Test Evidence
   - src kylin instance url: ADMIN:KYLIN@10.1.3.94:7070
   - target Kylin instance url: ADMIN:KYLIN@10.1.3.93:7072
   - migrate cube: kylin_sales_cube
   - src project: learn_kylin
   - target project: test_migration_kylin
   
   ####
   - cmd
   ```
   bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI ADMIN:KYLIN@10.1.3.94:7070 ADMIN:KYLIN@10.1.3.93:7072 kylin_sales_cube test_migration_kylin true false true true true
   ```
   - Result: `kylin_sales_cube` be migrated to project `test_migration_kylin` of 10.1.3.93:7072, and the related hdfs resource(dict、snapshot、parquet file) be copied to target kylin instance HDFS working dir.
   - Migrate log
   <img width="1680" alt="image" src="https://user-images.githubusercontent.com/31064237/101122852-6d97ea00-362e-11eb-99d8-49ca8beb5ae7.png">
   - Migrated can be queried
   <img width="1428" alt="image" src="https://user-images.githubusercontent.com/31064237/101123073-ed25b900-362e-11eb-9c55-bf7c58e14023.png">
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org