kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenchen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-3395) 无法删除model的问题。
Date Fri, 01 Jun 2018 04:28:00 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

chenchen updated KYLIN-3395:
----------------------------
    Description: 
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表是一个视图。不知道是不是这个原因?

  was:
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的问题。
> -------------
>
>                 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)

Mime
View raw message