[ https://issues.apache.org/jira/browse/KYLIN-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442154#comment-16442154 ]
liyang commented on KYLIN-3342: ------------------------------- I see. Then this Jira is invalid. Closing it. Thanks [~yaho]! > Cubing level calculation inconsistent? > -------------------------------------- > > Key: KYLIN-3342 > URL: https://issues.apache.org/jira/browse/KYLIN-3342 > Project: Kylin > Issue Type: Bug > Reporter: liyang > Priority: Major > Attachments: KYLIN-3342.patch > > > Got below exception during cube build. > {{ Caused by: java.lang.IndexOutOfBoundsException: Index: 7, Size: 7}} > {{ at java.util.ArrayList.rangeCheck(ArrayList.java:635)}} > {{ at java.util.ArrayList.get(ArrayList.java:411)}} > {{ at > org.apache.kylin.engine.mr.common.CubeStatsReader.estimateLayerSize(SourceFile:280)}} > {{ at > org.apache.kylin.engine.spark.SparkCubingByLayer.estimateRDDPartitionNum(SourceFile:219)}} > {{ at > org.apache.kylin.engine.spark.SparkCubingByLayer.execute(SourceFile:199)}} > {{ at > org.apache.kylin.common.util.AbstractApplication.execute(SourceFile:37)}} > {{ ... 6 more}} > > Found two way of calculating the level of cuboids > * via CuboidScheduler.getBuildLevel() > * via CuboidUtil.getLongestDepth(...) > We should settle down on one approach. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)