You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2015/06/01 08:23:45 UTC

incubator-kylin git commit: Fix CI

Repository: incubator-kylin
Updated Branches:
  refs/heads/0.8.0 b470ead3f -> 450c9c1e0


Fix CI

Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/450c9c1e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/450c9c1e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/450c9c1e

Branch: refs/heads/0.8.0
Commit: 450c9c1e0adcba524b5a8afd9ec5b06145c7a677
Parents: b470ead
Author: shaofengshi <sh...@apache.org>
Authored: Mon Jun 1 14:23:37 2015 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Mon Jun 1 14:23:37 2015 +0800

----------------------------------------------------------------------
 cube/src/main/java/org/apache/kylin/cube/CubeManager.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/450c9c1e/cube/src/main/java/org/apache/kylin/cube/CubeManager.java
----------------------------------------------------------------------
diff --git a/cube/src/main/java/org/apache/kylin/cube/CubeManager.java b/cube/src/main/java/org/apache/kylin/cube/CubeManager.java
index 3821616..05ef16c 100644
--- a/cube/src/main/java/org/apache/kylin/cube/CubeManager.java
+++ b/cube/src/main/java/org/apache/kylin/cube/CubeManager.java
@@ -291,7 +291,6 @@ public class CubeManager implements IRealizationProvider {
         validateNewSegments(cube, newSegment);
         saveCubeSegmentChange(cube, Lists.newArrayList(newSegment), null);
 
-
         return newSegment;
     }
 
@@ -318,7 +317,7 @@ public class CubeManager implements IRealizationProvider {
     }
 
     protected void saveCubeSegmentChange(CubeInstance cube, List<CubeSegment> toAdd, List<CubeSegment> toRemove) throws IOException {
-        cube = this.reloadCubeLocal(cube.getName());
+//        cube = this.reloadCubeLocal(cube.getName());
 
         if (toAdd != null && toAdd.size() > 0)
             cube.getSegments().addAll(toAdd);