What's your migration parameters? Seems you're doing the migration between two Kylin instances which are serving the same cluster.
2017-07-26 15:21 GMT+08:00 [email protected] <[email protected]>: > Migrating cube error reporting: > > 1. > 2017-07-26 15:20:42,342 ERROR [main CubeMigrationCLI:305]: error met > java.lang.InterruptedException: Cannot rename folder > /kylin/kylin_metadata/kylin-154ecfbe-bcab-4c1d-895f-55c17bddac58 to > folder /kylin/kylin_metadata/kylin-154ecfbe-bcab-4c1d-895f-55c17bddac58 > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > renameHDFSPath(CubeMigrationCLI.java:580) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > doOpt(CubeMigrationCLI.java:420) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > doOpts(CubeMigrationCLI.java:302) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > moveCube(CubeMigrationCLI.java:154) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > moveCube(CubeMigrationCLI.java:164) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > main(CubeMigrationCLI.java:103) > 2017-07-26 15:20:42,345 INFO [main CubeMigrationCLI:306]: Try undoing > previous changes > > 2. > 017-07-26 15:20:42,390 INFO [main CubeMigrationCLI:500]: Undo operation: > COPY_FILE_IN_META:/model_desc/test.json, > 2017-07-26 15:20:42,390 INFO [main CubeMigrationCLI:514]: Undo for > COPY_FILE_IN_META is ignored > 2017-07-26 15:20:42,390 INFO [main CubeMigrationCLI:500]: Undo operation: > COPY_FILE_IN_META:/cube_desc/test.json, > 2017-07-26 15:20:42,390 INFO [main CubeMigrationCLI:514]: Undo for > COPY_FILE_IN_META is ignored > 2017-07-26 15:20:42,390 INFO [main CubeMigrationCLI:500]: Undo operation: > COPY_FILE_IN_META:/cube/test.json, > 2017-07-26 15:20:42,390 INFO [main CubeMigrationCLI:514]: Undo for > COPY_FILE_IN_META is ignored > Exception in thread "main" java.lang.RuntimeException: Cube moving failed > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > doOpts(CubeMigrationCLI.java:317) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > moveCube(CubeMigrationCLI.java:154) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > moveCube(CubeMigrationCLI.java:164) > at org.apache.kylin.storage.hbase.util.CubeMigrationCLI. > main(CubeMigrationCLI.java:103) > 2017-07-26 15:20:42,392 INFO [Thread-0 ConnectionManager$ > HConnectionImplementation:2128]: Closing master protocol: MasterService > 2017-07-26 15:20:42,392 INFO [Thread-0 ConnectionManager$ > HConnectionImplementation:1684]: Closing zookeeper > sessionid=0x35cb8b15176120a > 2017-07-26 15:20:42,394 INFO [Thread-0 ZooKeeper:684]: Session: > 0x35cb8b15176120a closed > 2017-07-26 15:20:42,394 INFO [main-EventThread ClientCnxn:524]: > EventThread shut down > > > > [email protected] > -- Best regards, Shaofeng Shi 史少锋
