You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/10/08 10:07:20 UTC

[jira] [Resolved] (KYLIN-2059) Concurrent build issue in CubeManager.calculateToBeSegments()

     [ https://issues.apache.org/jira/browse/KYLIN-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI resolved KYLIN-2059.
---------------------------------
    Resolution: Fixed

> 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)