kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lid...@apache.org
Subject [06/50] [abbrv] kylin git commit: KYLIN-2333 fix ArrayIndexOutOfBoundsException in JobBuilderSupport
Date Thu, 12 Jan 2017 04:05:09 GMT
KYLIN-2333 fix ArrayIndexOutOfBoundsException in JobBuilderSupport


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

Branch: refs/heads/master-hbase1.x
Commit: 5683954bafec3fb02cc2ccda56387dacceb6b593
Parents: b736175
Author: shaofengshi <shaofengshi@apache.org>
Authored: Thu Jan 5 16:32:28 2017 +0800
Committer: shaofengshi <shaofengshi@apache.org>
Committed: Thu Jan 5 16:32:28 2017 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/kylin/engine/mr/JobBuilderSupport.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/5683954b/engine-mr/src/main/java/org/apache/kylin/engine/mr/JobBuilderSupport.java
----------------------------------------------------------------------
diff --git a/engine-mr/src/main/java/org/apache/kylin/engine/mr/JobBuilderSupport.java b/engine-mr/src/main/java/org/apache/kylin/engine/mr/JobBuilderSupport.java
index 122b8ba..86ac880 100644
--- a/engine-mr/src/main/java/org/apache/kylin/engine/mr/JobBuilderSupport.java
+++ b/engine-mr/src/main/java/org/apache/kylin/engine/mr/JobBuilderSupport.java
@@ -193,7 +193,7 @@ public class JobBuilderSupport {
     }
 
     public String[] getCuboidOutputPaths(String cuboidRootPath, int levels) {
-        String[] paths = new String[levels];
+        String[] paths = new String[levels + 1];
         for (int i = 0; i <= levels; i++) {
             if (i == 0) {
                 paths[i] = cuboidRootPath + "base_cuboid";


Mime
View raw message