You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/04 06:18:00 UTC
[jira] [Commented] (KYLIN-3440) Couldn't merge if there is an empty
segment
[ https://issues.apache.org/jira/browse/KYLIN-3440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532299#comment-16532299 ]
ASF GitHub Bot commented on KYLIN-3440:
---------------------------------------
asfgit commented on issue #161: KYLIN-3440 Couldn't merge if there is an empty segment
URL: https://github.com/apache/kylin/pull/161#issuecomment-402374758
Can one of the admins verify this patch?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> 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)