Shaofeng SHI created KYLIN-2339:
-----------------------------------

             Summary: Get error when refresh segment of a streaming cube
                 Key: KYLIN-2339
                 URL: https://issues.apache.org/jira/browse/KYLIN-2339
             Project: Kylin
          Issue Type: Bug
          Components: Job Engine
    Affects Versions: v1.6.0
            Reporter: Shaofeng SHI
            Assignee: Dong Li


Try to refresh a segment of a "streaming" cube, get error as below; Although 
for a streaming case, the refresh does change any data, it shouldn't report 
error. 

{code}
2016-12-30 02:22:45,609 ERROR [http-bio-7070-exec-41] 
controller.BasicController:44 :
org.apache.kylin.rest.exception.InternalErrorException: The new refreshing 
segment twitter_tag_cube5[20161230002000_20161230012000] does not match any 
existing segment in cube CUBE[name=twitter_tag_cube5]
        at 
org.apache.kylin.rest.controller.CubeController.buildInternal(CubeController.java:299)
        at 
org.apache.kylin.rest.controller.CubeController.rebuild(CubeController.java:273)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        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:221)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
        at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)
        at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
        at 
org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:864)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:653)
        at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
        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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to