[
https://issues.apache.org/jira/browse/KYLIN-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284359#comment-15284359
]
Zhong Yanghong commented on KYLIN-1637:
---------------------------------------
Here, does the ColumnBlocks refer to measure_refs?
> Sample cube build error
> -----------------------
>
> Key: KYLIN-1637
> URL: https://issues.apache.org/jira/browse/KYLIN-1637
> Project: Kylin
> Issue Type: Bug
> Components: Tools, Build and Test
> Affects Versions: v1.5.1
> Reporter: Dong Li
> Assignee: Dong Li
> Fix For: v1.5.2
>
>
> MapReduce job failed on Build Cube step, the error log is:
> Error: java.io.IOException: Failed to build cube in mapper 0 at
> org.apache.kylin.engine.mr.steps.InMemCuboidMapper.cleanup(InMemCuboidMapper.java:142)
> at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:148) at
> org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:784) at
> org.apache.hadoop.mapred.MapTask.run(MapTask.java:341) at
> org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163) at
> java.security.AccessController.doPrivileged(Native Method) at
> javax.security.auth.Subject.doAs(Subject.java:415) at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
> at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158) Caused by:
> java.util.concurrent.ExecutionException: java.lang.RuntimeException:
> java.io.IOException: java.io.IOException: java.lang.IllegalStateException at
> java.util.concurrent.FutureTask.report(FutureTask.java:122) at
> java.util.concurrent.FutureTask.get(FutureTask.java:188) at
> org.apache.kylin.engine.mr.steps.InMemCuboidMapper.cleanup(InMemCuboidMapper.java:140)
> ... 8 more Caused by: java.lang.RuntimeException: java.io.IOException:
> java.io.IOException: java.lang.IllegalStateException at
> org.apache.kylin.cube.inmemcubing.AbstractInMemCubeBuilder$1.run(AbstractInMemCubeBuilder.java:76)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262) at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException:
> java.io.IOException: java.lang.IllegalStateException at
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$BuildOnce.build(DoggedCubeBuilder.java:125)
> at
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder.build(DoggedCubeBuilder.java:72)
> at
> org.apache.kylin.cube.inmemcubing.AbstractInMemCubeBuilder$1.run(AbstractInMemCubeBuilder.java:74)
> ... 5 more Caused by: java.io.IOException: java.lang.IllegalStateException
> at
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$BuildOnce.abort(DoggedCubeBuilder.java:193)
> at
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$BuildOnce.checkException(DoggedCubeBuilder.java:166)
> at
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$BuildOnce.build(DoggedCubeBuilder.java:113)
> ... 7 more Caused by: java.lang.IllegalStateException at
> org.apache.kylin.gridtable.GTInfo.validateColumnBlocks(GTInfo.java:188) at
> org.apache.kylin.gridtable.GTInfo.validate(GTInfo.java:157) at
> org.apache.kylin.gridtable.GTInfo$Builder.build(GTInfo.java:259) at
> org.apache.kylin.cube.gridtable.CubeGridTable.newGTInfo(CubeGridTable.java:74)
> at
> org.apache.kylin.cube.gridtable.CubeGridTable.newGTInfo(CubeGridTable.java:62)
> at
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder.newGridTableByCuboidID(InMemCubeBuilder.java:107)
> at
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder.createBaseCuboid(InMemCubeBuilder.java:327)
> at
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder.build(InMemCubeBuilder.java:164)
> at
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder.build(InMemCubeBuilder.java:133)
> at
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$SplitThread.run(DoggedCubeBuilder.java:281)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)