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

[jira] [Commented] (KYLIN-3395) 无法删除model的问题。

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

Billy Liu commented on KYLIN-3395:
----------------------------------

[~chenfeng_0829]
First, please do not ask questions in JIRA. The Kylin user mailer is the right place to ask for help. JIRA is for confirmed bug or feature discussion. 

Second, if you think this is the repeatable bug, please repeat it against the sample project, and list all necessary steps and each step result. Then others will help. 

> 无法删除model的问题。
> -------------
>
>                 Key: KYLIN-3395
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3395
>             Project: Kylin
>          Issue Type: Bug
>          Components: REST Service
>    Affects Versions: v2.3.0
>            Reporter: chenchen
>            Priority: Major
>
> org.apache.kylin.rest.exception.BadRequestException: Model is referenced by Cube '***analysis_trd_detail_d_kq_1' , could not dropped
>  at org.apache.kylin.rest.service.ModelService.dropModel(ModelService.java:154)
>  at org.apache.kylin.rest.controller.ModelController.deleteModel(ModelController.java:173)
>  at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
>  at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
>  at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
>  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
>  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
>  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
>  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
>  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
>  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
>  at org.springframework.web.servlet.FrameworkServlet.doDelete(FrameworkServlet.java:894)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:656)
>  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> cube已经被删除了,但是在删除model的时候还是提示关联的cube存在?
> 我的model表是一个视图。不知道是不是这个原因?



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