[
https://issues.apache.org/jira/browse/KYLIN-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shaofeng SHI updated KYLIN-2271:
--------------------------------
Description:
The purge cube API didn't check whether there is building segment, which will
delete all segments; Then the build engine will encounter unexpected NPE.
Expected behavior: when there is building segment, don't allow purge; User need
discard the building jobs and then do the purge.
> Purge cube may delete building segments
> ---------------------------------------
>
> Key: KYLIN-2271
> URL: https://issues.apache.org/jira/browse/KYLIN-2271
> Project: Kylin
> Issue Type: Bug
> Components: REST Service
> Reporter: Shaofeng SHI
> Assignee: Shaofeng SHI
> Priority: Minor
> Fix For: v1.6.1
>
>
> The purge cube API didn't check whether there is building segment, which will
> delete all segments; Then the build engine will encounter unexpected NPE.
> Expected behavior: when there is building segment, don't allow purge; User
> need discard the building jobs and then do the purge.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)