You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by "ning.wang@ymm56.com" <ni...@ymm56.com> on 2019/06/12 08:24:59 UTC

同一个 cube不同segment无法并行构建

当我对同一个cube并行构建不同segment的时候,提示我无法并行构建,这是为什么呢,不同segment同时构建会有什么影响吗?


ning.wang@ymm56.com

回复:同一个 cube不同segment无法并行构建

Posted by yuzhang <sh...@163.com>.
There isn't any ready segment for the cube.  After build a segment successfully,  you can parallel build other segments


| |
yuzhang
|
|
Email:shifengdefannao@163.com
|

Signature is customized by Netease Mail Master

在2019年06月12日 17:09,Xiaoxiang Yu 写道:

Hi,

This looks has relation with cube planner feature. The purpose is to avoid build job and optimize job run concurrently, because they can both modify the cuboid set and caused some bugs. This only happen when cube planner is enabled and there has no READY segment. 
 
You can check the source code at https://github.com/apache/kylin/blob/c507ae29fa64bc7234efd6a002dcfe990969ad35/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java#L417 , or refer to https://github.com/apache/kylin/pull/85/commits/42f8e073d7f381af7e50660099cfdd6200066363 and https://issues.apache.org/jira/browse/KYLIN-2733.
 

 

----------------

Best wishes,

Xiaoxiang Yu

 

 

发件人: "ning.wang@ymm56.com" <ni...@ymm56.com>
答复: "user@kylin.apache.org" <us...@kylin.apache.org>
日期: 2019年6月12日星期三 16:25
收件人: user <us...@kylin.apache.org>
主题: 同一个 cube不同segment无法并行构建

 

当我对同一个cube并行构建不同segment的时候,提示我无法并行构建,这是为什么呢,不同segment同时构建会有什么影响吗?

ning.wang@ymm56.com

Re: 同一个 cube不同segment无法并行构建

Posted by Xiaoxiang Yu <xi...@kyligence.io>.
Hi,

This looks has relation with cube planner feature. The purpose is to avoid build job and optimize job run concurrently, because they can both modify the cuboid set and caused some bugs. This only happen when cube planner is enabled and there has no READY segment.



You can check the source code at https://github.com/apache/kylin/blob/c507ae29fa64bc7234efd6a002dcfe990969ad35/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java#L417 , or refer to https://github.com/apache/kylin/pull/85/commits/42f8e073d7f381af7e50660099cfdd6200066363 and https://issues.apache.org/jira/browse/KYLIN-2733.



----------------
Best wishes,
Xiaoxiang Yu


发件人: "ning.wang@ymm56.com" <ni...@ymm56.com>
答复: "user@kylin.apache.org" <us...@kylin.apache.org>
日期: 2019年6月12日 星期三 16:25
收件人: user <us...@kylin.apache.org>
主题: 同一个 cube不同segment无法并行构建

当我对同一个cube并行构建不同segment的时候,提示我无法并行构建,这是为什么呢,不同segment同时构建会有什么影响吗?
[cid:_Foxmail.1@ad13c66d-0b16-0423-a582-7ddf6fddf3aa]
________________________________
ning.wang@ymm56.com