kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-2988) Segment Delete
Date Thu, 02 Nov 2017 03:33:00 GMT

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

Shaofeng SHI commented on KYLIN-2988:
-------------------------------------

You can export the metadata to local, then edit /cube/<cube_name>.json to remove the
segment; On finish, restore the metadata and restart Kylin:
https://kylin.apache.org/docs21/howto/howto_backup_metadata.html

> Segment Delete
> --------------
>
>                 Key: KYLIN-2988
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2988
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: songxiangjun
>            Priority: Critical
>
> How to delete the segment that has drop directly but not discard ?.. If I don't delete
the segment, i can't merge a new one. Please....
> The following error occurs when I try to delete the segment´╝Ü
> {"code":"999","data":null,"msg":"Cannot delete segment '20170927140000_20170928160000'
as it is neither the first nor the last segment.","stacktrace":"org.apache.kylin.rest.exception.InternalErrorException:
Cannot delete segment '20170927140000_20170928160000' as it is neither the first nor the last
segment.\n\tat org.apache.kylin.rest.controller.CubeController.deleteSegment(CubeController.java:247)\n\tat
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message