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 2017/06/27 02:13:28 UTC

kylin git commit: KYLIN-2684 Failed to build cube with spark engine

Repository: kylin
Updated Branches:
  refs/heads/master 2d1a47d1b -> 2b07f2915


KYLIN-2684 Failed to build cube with spark engine

Signed-off-by: shaofengshi <sh...@apache.org>


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

Branch: refs/heads/master
Commit: 2b07f2915bd052dd8fcee9b896eaedffa6f25b4b
Parents: 2d1a47d
Author: 10069681 <pe...@zte.com.cn>
Authored: Mon Jun 26 14:27:28 2017 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Tue Jun 27 10:10:34 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/kylin/blob/2b07f291/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 82d0b1b..2b81789 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
@@ -191,7 +191,7 @@ public class CubeDesc extends RootPersistentEntity implements IEngineAware {
     // allCuboids and parent2Child lazy built
     private Set<Long> allCuboids;
     private Map<Long, List<Long>> parent2Child;
-    private Object cuboidTreeLock = new Object();
+    private byte[] cuboidTreeLock = new byte[0];
 
     public boolean isEnableSharding() {
         //in the future may extend to other storage that is shard-able