I had same problem like yejun,but I'm in kylin 2.0,samething happen when I discard current job and retry.but when I clone the cube to another name,and build with the same time range.it finish successfully.
________________________________ 赵天烁 Kevin Zhao zhaotians...@meizu.com<mailto:zhaotians...@meizu.com> 珠海市魅族科技有限公司 MEIZU Technology Co., Ltd. 广东省珠海市科技创新海岸魅族科技楼 MEIZU Tech Bldg., Technology & Innovation Coast Zhuhai, 519085, Guangdong, China meizu.com From: ShaoFeng Shi<mailto:shaofeng...@apache.org> Date: 2017-02-16 17:40 To: dev<mailto:dev@kylin.apache.org> Subject: Re: Help needed - Issue when build the cube Assuming you're running with Kylin 1.6; from the source code, it indicates that the segment wasn't found, this shoudln't happen usually; You can discard current job, and then retry the build: https://github.com/apache/kylin/blob/kylin-1.6.0/engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/FactDistinctColumnsJob.java#L98, it 2017-02-14 13:57 GMT+08:00 xingyejun <nicole2014f...@163.com>: > Hi, > > Does anyone met the following issues when building a cube? > > java.lang.IllegalStateException > at > org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob. > run(FactDistinctColumnsJob.java:98) > at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:88) > at > org.apache.kylin.engine.mr.common.MapReduceExecutable. > doWork(MapReduceExecutable.java:120) > at > org.apache.kylin.job.execution.AbstractExecutable. > execute(AbstractExecutable.java:113) > at > org.apache.kylin.job.execution.DefaultChainedExecutable.doWork( > DefaultChainedExecutable.java:57) > at > org.apache.kylin.job.execution.AbstractExecutable. > execute(AbstractExecutable.java:113) > at > org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run( > DefaultScheduler.java:136) > at > java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > > result code:2 > > -- > View this message in context: http://apache-kylin.74782.x6. > nabble.com/Help-needed-Issue-when-build-the-cube-tp7191.html > Sent from the Apache Kylin mailing list archive at Nabble.com. > -- Best regards, Shaofeng Shi 史少锋