You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2018/03/25 05:27:00 UTC

[jira] [Comment Edited] (KYLIN-3311) Segments overlap error

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

liyang edited comment on KYLIN-3311 at 3/25/18 5:26 AM:
--------------------------------------------------------

Thanks for reporting. I'm not sure of the root cause yet. It seems the first update was actually successful, however an IllegalStateException was thrown after that, caused a retry, and caused the same segment being added twice.

We need to enhance the code to produce more logs first. Then if the problem re-occurs, we can hunt down the root cause.


was (Author: liyang.gmt8@gmail.com):
Thanks for reporting. I'm not sure of the root cause yet. It seems the first update was actually successfully, but however an IllegalStateException was thrown after that, caused a retry, and caused the same segment being added twice.

I guess we need to enhance the code to produce more logs first. Then if the problem re-occurs, we can hunt down the root cause.

> Segments overlap error
> ----------------------
>
>                 Key: KYLIN-3311
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3311
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v2.3.0
>            Reporter: xujing
>            Priority: Major
>              Labels: build
>         Attachments: Segments_Overlap_ErrorLog.txt
>
>
> when "updateCubeWithRetry" method be called at first time ,
> line newSegs.validate();was passed .
> then 
> cube = crud.save(cube);seem with error throw exception
> write conflict to update cube xxxx at try 0 ,will retry...
> while retry "updateCubeWithRetry" start
> line newSegs.validate();was not passed .
> throw exception 
> Segments overlap: xxxx[20180318000000_20180319000000] and sales_order_channel[20180318000000_201803
> 19000000]



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