[ 
https://issues.apache.org/jira/browse/KYLIN-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344608#comment-16344608
 ] 

 Kaige Liu commented on KYLIN-2999:
-----------------------------------

Hi [~kangkaisen] [~yimingliu], I also found auto-migration not working as 
expected. I have submitted a patch to make it work. But it only fixes the 
blocking issue. There are still some defects need to be improved.
 # If the dest env is totally fresh, the migration will fail, because the hdfs 
folder(/$KYLIN_HOME/$metadata) is not created until any jobs is triggered.
 # The job is running in blocking model, maybe we can add it to job scheduler.

Sample configuration:

kylin.tool.auto-migrate-cube.enabled=true
kylin.tool.auto-migrate-cube.src-config=/opt/kylintest/apache-kylin-2.3.0-SNAPSHOT-bin/conf/kylin.properties
kylin.tool.auto-migrate-cube.dest-config=/tmp/kylin.properties

(Above configuration files must be named as *kylin.properties*)

 

Prerequisite:

Must have a same project with source cube in dest env.

 

Please review the patch. Thanks.

 

> One click migrate cube in web
> -----------------------------
>
>                 Key: KYLIN-2999
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2999
>             Project: Kylin
>          Issue Type: New Feature
>          Components: Tools, Build and Test, Web 
>            Reporter: kangkaisen
>            Assignee: kangkaisen
>            Priority: Major
>             Fix For: v2.3.0
>
>         Attachments: KYLIN-2999-fix-cube-automigration-00001.patch, 
> KYLIN-2999.patch
>
>
> Currently, the cube migration must be done by Kylin Admin,  which will waste 
> a lot of time for Kylin Admin. So, we should allow use to migrate cube by one 
> click in web. Of Course, which is configurable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to