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

ASF subversion and git services commented on KYLIN-3440:
--------------------------------------------------------

Commit 40dd2be1d2456029a2308abe2c94353bbe75dca9 in kylin's branch 
refs/heads/master from luguosheng1314
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=40dd2be ]

KYLIN-3440 Couldn't merge if there is an empty segment (#161)



> Couldn't merge if there is an empty segment
> -------------------------------------------
>
>                 Key: KYLIN-3440
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3440
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>    Affects Versions: v2.3.1, v2.4.0
>            Reporter: Shaofeng SHI
>            Priority: Major
>         Attachments: 2018-07-04 上午8.42.08.png
>
>
> I have a cube which has empty segment (actually the segment is not empty, 
> just because the job counter wasn't fetched). When I try to merge the 
> segments, Kylin reports error, asking me if I want to continue forcely; When 
> click "yes", the same error be reported. From the http request, I didn't see 
> the "forceMergeEmptySegment" parameter was set.
> {code:java}
> org.apache.kylin.rest.exception.InternalErrorException: Empty cube segment 
> found, couldn't merge unless 'forceMergeEmptySegment' set to true: 
> [20120101000000_20120801000000, 20120801000000_20180701000000]
> at 
> org.apache.kylin.rest.controller.CubeController.buildInternal(CubeController.java:416)
> at 
> org.apache.kylin.rest.controller.CubeController.rebuild(CubeController.java:366)
> 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: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.doPut(FrameworkServlet.java:883)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:653)
> 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)
> {code}



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

Reply via email to