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

Shaofeng SHI commented on KYLIN-2067:
-------------------------------------

1. check holes:

GET /kylin/api/cubes/<cube_name>/hole

It will return a list of hole segments (with start/end date or offset 
information) if hole exists;

2. fill holes automatically:

PUT /kylin/api/cubes/<cube_name>/hole

If hole exists, it will submit build job for each hole; Return the list of 
submitted JobInstances; 

> Add API to check and fill segment holes
> ---------------------------------------
>
>                 Key: KYLIN-2067
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2067
>             Project: Kylin
>          Issue Type: New Feature
>          Components: REST Service
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>             Fix For: v1.6.0
>
>
> The segments in a cube should be in sequence and no overlap and no hole (or 
> say gap). But there might be holes (especially for streaming case in some 
> exceptional case). Need API to report such holes and trigger the filling 
> automatically.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to