Shaofeng SHI created KYLIN-2059: ----------------------------------- Summary: Concurrent build issue in CubeManager.calculateToBeSegments() Key: KYLIN-2059 URL: https://issues.apache.org/jira/browse/KYLIN-2059 Project: Kylin Issue Type: Bug Components: Metadata Affects Versions: v1.6.0 Reporter: Shaofeng SHI Assignee: Shaofeng SHI Fix For: v1.6.0
In 1.6.0 Kylin will allow multile segments be built concurently; A bug is found in CubeManager.calculateToBeSegments(), which will delete merging segments unexpectedly when another segment's build is finished. {code} java.lang.NullPointerException at org.apache.kylin.engine.mr.steps.UpdateCubeInfoAfterMergeStep.doWork(UpdateCubeInfoAfterMergeStep.java:69) at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:115) at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:57) at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:115) at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:136) 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) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)