You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/10/21 06:33:58 UTC

[jira] [Comment Edited] (KYLIN-2067) Add API to check and fill segment holes

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

Shaofeng SHI edited comment on KYLIN-2067 at 10/21/16 6:33 AM:
---------------------------------------------------------------

1. check holes:

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

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>/holes

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


was (Author: shaofengshi):
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)