You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/09/23 10:17:39 UTC

[08/13] kylin git commit: KYLIN-2718 bug fix

KYLIN-2718 bug fix


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

Branch: refs/heads/pr70
Commit: 2edee491577d1507d3e251fcb33b5f43c21749d3
Parents: 2551d48
Author: Li Yang <li...@apache.org>
Authored: Sat Sep 23 16:55:07 2017 +0800
Committer: Li Yang <li...@apache.org>
Committed: Sat Sep 23 16:55:07 2017 +0800

----------------------------------------------------------------------
 core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/2edee491/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
----------------------------------------------------------------------
diff --git a/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java b/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
index 712af43..827ac81 100644
--- a/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
+++ b/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
@@ -660,6 +660,8 @@ public class CubeDesc extends RootPersistentEntity implements IEngineAware {
                             + ". Use 'mandatory'/'hierarchy'/'joint' to optimize; or update 'kylin.cube.aggrgroup.max-combination' to a bigger value.";
                     throw new TooManyCuboidException(msg);
                 }
+            } catch (TooManyCuboidException e) {
+                throw e;
             } catch (Exception e) {
                 throw new IllegalStateException("Unknown error while calculating cuboid number for " + //
                         "Aggregation group " + index + " of Cube Desc " + this.name, e);