You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by " Kaige Liu (JIRA)" <ji...@apache.org> on 2018/01/30 07:24:00 UTC
[jira] [Comment Edited] (KYLIN-2999) One click migrate cube in web
[ https://issues.apache.org/jira/browse/KYLIN-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344608#comment-16344608 ]
Kaige Liu edited comment on KYLIN-2999 at 1/30/18 7:23 AM:
------------------------------------------------------------
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 mode, 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.
was (Author: liukaige):
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)