[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=16532340#comment-16532340 ] ASF subversion and git services commented on KYLIN-3440: Commit 57cffa6e2264377a8c900a140823c34f91379be7 in kylin's branch refs/heads/2.3.x from luguosheng1314 [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=57cffa6 ] KYLIN-3440 Couldn't merge if there is an empty segment (#162) > 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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=16532339#comment-16532339 ] ASF GitHub Bot commented on KYLIN-3440: --- chenzhx closed pull request #162: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/162 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/webapp/app/js/controllers/cubes.js b/webapp/app/js/controllers/cubes.js index cbd6fad1bb..2318ba5fed 100644 --- a/webapp/app/js/controllers/cubes.js +++ b/webapp/app/js/controllers/cubes.js @@ -619,19 +619,15 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic startTime = cube.segments[cube.segments.length-1].date_range_end; } $scope.jobBuildRequest.startTime=startTime; - $scope.rebuild = function () { - + $scope.rebuild = function (isForce) { $scope.message = null; - if ($scope.jobBuildRequest.startTime >= $scope.jobBuildRequest.endTime) { $scope.message = "WARNING: End time should be later than the start time."; - return; } - +$scope.jobBuildRequest.forceMergeEmptySegment = !!isForce; loadingRequest.show(); CubeService.rebuildCube({cubeId: cube.name}, $scope.jobBuildRequest, function (job) { - loadingRequest.hide(); $modalInstance.dismiss('cancel'); SweetAlert.swal('Success!', 'Rebuild job was submitted successfully', 'success'); @@ -639,8 +635,6 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic $scope.cubeList.cubes[$scope.cubeList.cubes.indexOf(cube)] = _cube; }); }, function (e) { - - loadingRequest.hide(); if (e.data && e.data.exception) { var message = e.data.exception; @@ -656,14 +650,11 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic closeOnConfirm: true }, function (isConfirm) { if (isConfirm) { - $scope.jobBuildRequest.forceMergeEmptySegment = true; - $scope.rebuild(); - delete $scope.jobBuildRequest.forceMergeEmptySegment; + $scope.rebuild(true); } }); return; } - if(message.indexOf("Merging segments must not have gaps between")!=-1){ SweetAlert.swal({ title:'', @@ -674,9 +665,7 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic closeOnConfirm: true }, function (isConfirm) { if (isConfirm) { - $scope.jobBuildRequest.forceMergeEmptySegment = true; - $scope.rebuild(); - delete $scope.jobBuildRequest.forceMergeEmptySegment; + $scope.rebuild(true); } }); return; 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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.springframew
[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=16532337#comment-16532337 ] ASF GitHub Bot commented on KYLIN-3440: --- chenzhx closed pull request #163: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/163 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/webapp/app/js/controllers/cubes.js b/webapp/app/js/controllers/cubes.js index 136d86eacf..d5541fb008 100644 --- a/webapp/app/js/controllers/cubes.js +++ b/webapp/app/js/controllers/cubes.js @@ -640,19 +640,15 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic startTime = cube.segments[cube.segments.length-1].date_range_end; } $scope.jobBuildRequest.startTime=startTime; - $scope.rebuild = function () { - + $scope.rebuild = function (isForce) { $scope.message = null; - if ($scope.jobBuildRequest.startTime >= $scope.jobBuildRequest.endTime) { $scope.message = "WARNING: End time should be later than the start time."; - return; } - +$scope.jobBuildRequest.forceMergeEmptySegment = !!isForce; loadingRequest.show(); CubeService.rebuildCube({cubeId: cube.name}, $scope.jobBuildRequest, function (job) { - loadingRequest.hide(); $modalInstance.dismiss('cancel'); SweetAlert.swal('Success!', 'Rebuild job was submitted successfully', 'success'); @@ -660,8 +656,6 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic $scope.cubeList.cubes[$scope.cubeList.cubes.indexOf(cube)] = _cube; }); }, function (e) { - - loadingRequest.hide(); if (e.data && e.data.exception) { var message = e.data.exception; @@ -677,14 +671,11 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic closeOnConfirm: true }, function (isConfirm) { if (isConfirm) { - $scope.jobBuildRequest.forceMergeEmptySegment = true; - $scope.rebuild(); - delete $scope.jobBuildRequest.forceMergeEmptySegment; + $scope.rebuild(true); } }); return; } - if(message.indexOf("Merging segments must not have gaps between")!=-1){ SweetAlert.swal({ title:'', @@ -695,9 +686,7 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic closeOnConfirm: true }, function (isConfirm) { if (isConfirm) { - $scope.jobBuildRequest.forceMergeEmptySegment = true; - $scope.rebuild(); - delete $scope.jobBuildRequest.forceMergeEmptySegment; + $scope.rebuild(true); } }); return; 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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.springframew
[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=16532338#comment-16532338 ] ASF subversion and git services commented on KYLIN-3440: Commit 037d64d287878e9e5ab10c68b3fa59c04baca54f in kylin's branch refs/heads/2.4.x from luguosheng1314 [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=037d64d ] KYLIN-3440 Couldn't merge if there is an empty segment (#163) > 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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=16532334#comment-16532334 ] ASF GitHub Bot commented on KYLIN-3440: --- luguosheng1314 opened a new pull request #163: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/163 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=16532331#comment-16532331 ] ASF GitHub Bot commented on KYLIN-3440: --- coveralls commented on issue #161: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/161#issuecomment-402378231 ## Pull Request Test Coverage Report for [Build 3288](https://coveralls.io/builds/17825011) * **0** of **0** changed or added relevant lines in **0** files are covered. * **1** unchanged line in **1** file lost coverage. * Overall coverage remained the same at **24.573%** --- | Files with Coverage Reduction | New Missed Lines | % | | :-|--|--: | | [core-metadata/src/main/java/org/apache/kylin/source/datagen/ColumnGenerator.java](https://coveralls.io/builds/17825011/source?filename=core-metadata%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fsource%2Fdatagen%2FColumnGenerator.java#L317) | 1 | 81.08% | | Totals | [![Coverage Status](https://coveralls.io/builds/17825011/badge)](https://coveralls.io/builds/17825011) | | :-- | --: | | Change from base [Build 3285](https://coveralls.io/builds/17783358): | 0.0% | | Covered Lines: | 15280 | | Relevant Lines: | 62181 | --- # 💛 - [Coveralls](https://coveralls.io) 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=16532335#comment-16532335 ] ASF GitHub Bot commented on KYLIN-3440: --- asfgit commented on issue #163: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/163#issuecomment-402378366 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=16532328#comment-16532328 ] ASF GitHub Bot commented on KYLIN-3440: --- asfgit commented on issue #162: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/162#issuecomment-402377982 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=16532326#comment-16532326 ] ASF GitHub Bot commented on KYLIN-3440: --- luguosheng1314 opened a new pull request #162: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/162 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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=16532304#comment-16532304 ] ASF GitHub Bot commented on KYLIN-3440: --- chenzhx closed pull request #161: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/161 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/webapp/app/js/controllers/cubes.js b/webapp/app/js/controllers/cubes.js index 136d86eacf..d5541fb008 100644 --- a/webapp/app/js/controllers/cubes.js +++ b/webapp/app/js/controllers/cubes.js @@ -640,19 +640,15 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic startTime = cube.segments[cube.segments.length-1].date_range_end; } $scope.jobBuildRequest.startTime=startTime; - $scope.rebuild = function () { - + $scope.rebuild = function (isForce) { $scope.message = null; - if ($scope.jobBuildRequest.startTime >= $scope.jobBuildRequest.endTime) { $scope.message = "WARNING: End time should be later than the start time."; - return; } - +$scope.jobBuildRequest.forceMergeEmptySegment = !!isForce; loadingRequest.show(); CubeService.rebuildCube({cubeId: cube.name}, $scope.jobBuildRequest, function (job) { - loadingRequest.hide(); $modalInstance.dismiss('cancel'); SweetAlert.swal('Success!', 'Rebuild job was submitted successfully', 'success'); @@ -660,8 +656,6 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic $scope.cubeList.cubes[$scope.cubeList.cubes.indexOf(cube)] = _cube; }); }, function (e) { - - loadingRequest.hide(); if (e.data && e.data.exception) { var message = e.data.exception; @@ -677,14 +671,11 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic closeOnConfirm: true }, function (isConfirm) { if (isConfirm) { - $scope.jobBuildRequest.forceMergeEmptySegment = true; - $scope.rebuild(); - delete $scope.jobBuildRequest.forceMergeEmptySegment; + $scope.rebuild(true); } }); return; } - if(message.indexOf("Merging segments must not have gaps between")!=-1){ SweetAlert.swal({ title:'', @@ -695,9 +686,7 @@ var jobSubmitCtrl = function ($scope, $modalInstance, CubeService, MessageServic closeOnConfirm: true }, function (isConfirm) { if (isConfirm) { - $scope.jobBuildRequest.forceMergeEmptySegment = true; - $scope.rebuild(); - delete $scope.jobBuildRequest.forceMergeEmptySegment; + $scope.rebuild(true); } }); return; 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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.springframew
[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=16532298#comment-16532298 ] ASF GitHub Bot commented on KYLIN-3440: --- luguosheng1314 opened a new pull request #161: KYLIN-3440 Couldn't merge if there is an empty segment URL: https://github.com/apache/kylin/pull/161 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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[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: us...@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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[jira] [Commented] (KYLIN-3438) mapreduce.job.queuename does not work at 'Convert Cuboid Data to HFile' Step
[ https://issues.apache.org/jira/browse/KYLIN-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532125#comment-16532125 ] Shaofeng SHI commented on KYLIN-3438: - I checked the code, this step is the same as others > mapreduce.job.queuename does not work at 'Convert Cuboid Data to HFile' Step > > > Key: KYLIN-3438 > URL: https://issues.apache.org/jira/browse/KYLIN-3438 > Project: Kylin > Issue Type: Bug > Components: Job Engine >Affects Versions: v2.4.0 >Reporter: powerinf >Priority: Major > > set the mapreduce.job.queuename does not work until the ' Convert Cuboid Data > to HFile' step ,but precious steps can work well。 > I put the mapreduce.job.queuename property in all conf file including > kylin_hive_conf.xml、kylin_job_conf_inmem.xml、kylin_job_conf.xml ,but does not > work,it alse to use the default queue -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (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:all-tabpanel ] Shaofeng SHI updated KYLIN-3440: Attachment: 2018-07-04 上午8.42.08.png > 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: > [2012010100_2012080100, 2012080100_2018070100] > 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)
[jira] [Created] (KYLIN-3440) Couldn't merge if there is an empty segment
Shaofeng SHI created KYLIN-3440: --- Summary: 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.4.0, v2.3.1 Reporter: Shaofeng SHI 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: [2012010100_2012080100, 2012080100_2018070100] 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)
[jira] [Created] (KYLIN-3439) configuration "kylin.web.timezone" is Inconsistent between kylin-defaults.properties and KylinConfigBase.java
jiatao.tao created KYLIN-3439: - Summary: configuration "kylin.web.timezone" is Inconsistent between kylin-defaults.properties and KylinConfigBase.java Key: KYLIN-3439 URL: https://issues.apache.org/jira/browse/KYLIN-3439 Project: Kylin Issue Type: Bug Reporter: jiatao.tao Assignee: jiatao.tao -- This message was sent by Atlassian JIRA (v7.6.3#76005)