A problem in cube migration

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

A problem in cube migration

zhuoranlyu
Hi all,

Currently I am using Kylin2.0.0 with CDH 5.8. I’m trying to migrate cubes from one kylin server to another. Below is my command to migrate the cube:

bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI fonova-app-gw01:7070 fonova-app-gw01:17070 kylin_sales_cube test true false false false

Two kylin servers are under same HDFS and HBase. I am sure that the test project do exist in the dst uti. However, it always says :

Exception in thread "main" java.lang.IllegalStateException: The target project test does not exist
         at org.apache.kylin.tool.CubeMigrationCLI.addCubeAndModelIntoProject(CubeMigrationCLI.java:242)
         at org.apache.kylin.tool.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:147)
         at org.apache.kylin.tool.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:167)
         at org.apache.kylin.tool.CubeMigrationCLI.main(CubeMigrationCLI.java:106)

Any suggestions would help.

Thanks,
Zhuoran
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: A problem in cube migration

Billy Liu
Hi Zhuoran,

Are you still blocked by this issue? I tried to reproduce it, but failed.

2017-05-19 16:16 GMT+08:00 吕卓然 <[hidden email]>:

> Hi all,
>
>
>
> Currently I am using Kylin2.0.0 with CDH 5.8. I’m trying to migrate cubes
> from one kylin server to another. Below is my command to migrate the cube:
>
> bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI fonova-app-gw01:7070
> fonova-app-gw01:17070 kylin_sales_cube test true false false false
>
>
>
> Two kylin servers are under same HDFS and HBase. I am sure that the test
> project do exist in the dst uti. However, it always says :
>
>
>
> Exception in thread "main" java.lang.IllegalStateException: The target
> project test does not exist
>
>          at org.apache.kylin.tool.CubeMigrationCLI.
> addCubeAndModelIntoProject(CubeMigrationCLI.java:242)
>
>          at org.apache.kylin.tool.CubeMigrationCLI.moveCube(
> CubeMigrationCLI.java:147)
>
>          at org.apache.kylin.tool.CubeMigrationCLI.moveCube(
> CubeMigrationCLI.java:167)
>
>          at org.apache.kylin.tool.CubeMigrationCLI.main(
> CubeMigrationCLI.java:106)
>
>
>
> Any suggestions would help.
>
>
>
> Thanks,
>
> Zhuoran
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

答复: A problem in cube migration

zhuoranlyu
Hi Billy,

I already solved it. This is because of  my Hadoop Env.

Thanks,
Zhuoran

发件人: Billy Liu [mailto:[hidden email]]
发送时间: 2017年5月22日 11:06
收件人: user
抄送: [hidden email]
主题: Re: A problem in cube migration

Hi Zhuoran,

Are you still blocked by this issue? I tried to reproduce it, but failed.

2017-05-19 16:16 GMT+08:00 吕卓然 <[hidden email]<mailto:[hidden email]>>:
Hi all,

Currently I am using Kylin2.0.0 with CDH 5.8. I’m trying to migrate cubes from one kylin server to another. Below is my command to migrate the cube:
bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI fonova-app-gw01:7070 fonova-app-gw01:17070 kylin_sales_cube test true false false false

Two kylin servers are under same HDFS and HBase. I am sure that the test project do exist in the dst uti. However, it always says :

Exception in thread "main" java.lang.IllegalStateException: The target project test does not exist
         at org.apache.kylin.tool.CubeMigrationCLI.addCubeAndModelIntoProject(CubeMigrationCLI.java:242)
         at org.apache.kylin.tool.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:147)
         at org.apache.kylin.tool.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:167)
         at org.apache.kylin.tool.CubeMigrationCLI.main(CubeMigrationCLI.java:106)

Any suggestions would help.

Thanks,
Zhuoran

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 答复: A problem in cube migration

Billy Liu
Thanks for updating.

2017-05-22 16:03 GMT+08:00 吕卓然 <[hidden email]>:

> Hi Billy,
>
>
>
> I already solved it. This is because of  my Hadoop Env.
>
>
>
> Thanks,
>
> Zhuoran
>
>
>
> *发件人:* Billy Liu [mailto:[hidden email]]
> *发送时间:* 2017年5月22日 11:06
> *收件人:* user
> *抄送:* [hidden email]
> *主题:* Re: A problem in cube migration
>
>
>
> Hi Zhuoran,
>
>
>
> Are you still blocked by this issue? I tried to reproduce it, but failed.
>
>
>
> 2017-05-19 16:16 GMT+08:00 吕卓然 <[hidden email]>:
>
> Hi all,
>
>
>
> Currently I am using Kylin2.0.0 with CDH 5.8. I’m trying to migrate cubes
> from one kylin server to another. Below is my command to migrate the cube:
>
> bin/kylin.sh org.apache.kylin.tool.CubeMigrationCLI fonova-app-gw01:7070
> fonova-app-gw01:17070 kylin_sales_cube test true false false false
>
>
>
> Two kylin servers are under same HDFS and HBase. I am sure that the test
> project do exist in the dst uti. However, it always says :
>
>
>
> Exception in thread "main" java.lang.IllegalStateException: The target
> project test does not exist
>
>          at org.apache.kylin.tool.CubeMigrationCLI.
> addCubeAndModelIntoProject(CubeMigrationCLI.java:242)
>
>          at org.apache.kylin.tool.CubeMigrationCLI.moveCube(
> CubeMigrationCLI.java:147)
>
>          at org.apache.kylin.tool.CubeMigrationCLI.moveCube(
> CubeMigrationCLI.java:167)
>
>          at org.apache.kylin.tool.CubeMigrationCLI.main(
> CubeMigrationCLI.java:106)
>
>
>
> Any suggestions would help.
>
>
>
> Thanks,
>
> Zhuoran
>
>
>
Loading...