Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3440

Couldn't merge if there is an empty segment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: v2.3.1, v2.4.0
    • Fix Version/s: v2.3.0, v2.4.0
    • Component/s: Web
    • Labels:
      None

      Description

      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.

      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)
      

        Attachments

        1. 2018-07-04 上午8.42.08.png
          80 kB
          Shaofeng SHI

          Activity

            People

            • Assignee:
              bob123 luguosheng
              Reporter:
              Shaofengshi Shaofeng SHI
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: