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/01/11 15:12:13 UTC

[4/4] kylin git commit: relax project num for single cube

relax project num for single cube


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

Branch: refs/heads/mhbstresstest
Commit: 8d1491888312edac9656f3345c862a9ab33c0dca
Parents: ee32cb1
Author: Hongbin Ma <ma...@apache.org>
Authored: Wed Jan 11 23:12:00 2017 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Wed Jan 11 23:12:00 2017 +0800

----------------------------------------------------------------------
 engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/8d149188/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java
----------------------------------------------------------------------
diff --git a/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java b/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java
index 64e9edb..35d5474 100644
--- a/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java
+++ b/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java
@@ -84,7 +84,8 @@ public class CubingJob extends DefaultChainedExecutable {
         if (projList == null || projList.size() == 0) {
             throw new RuntimeException("Cannot find the project containing the cube " + cube.getName() + "!!!");
         } else if (projList.size() >= 2) {
-            throw new RuntimeException("Find more than one project containing the cube " + cube.getName() + ". It does't meet the uniqueness requirement!!! ");
+            //throw new RuntimeException("Find more than one project containing the cube " + cube.getName() + ". It does't meet the uniqueness requirement!!! ");
+            logger.warn("Find more than one project containing the cube " + cube.getName() + ". It does't meet the uniqueness requirement!!! ");
         }
 
         CubingJob result = new CubingJob();