In the log, I saw: 2018-02-09 17:39:57,634 ERROR [http-bio-7070-exec-8] controller.CubeController:337 : Segments overlap: kylin_sales_cube[20100101000000_20140102000000] and kylin_sales_cube[20120101000000_20140102000000] java.lang.IllegalStateException: Segments overlap: kylin_sales_cube[20100101000000_20140102000000] and kylin_sales_cube[20120101000000_20140102000000] at org.apache.kylin.metadata.model.Segments.validate(Segments.java:404) at org.apache.kylin.cube.CubeManager.updateCubeWithRetry(CubeManager.java:393) at org.apache.kylin.cube.CubeManager.updateCube(CubeManager.java:349) at org.apache.kylin.cube.CubeManager.appendSegment(CubeManager.java:485) at org.apache.kylin.cube.CubeManager.appendSegment(CubeManager.java:455) at org.apache.kylin.rest.service.JobService.submitJobInternal(JobService.java:239)
It seems there was some wrong segment in metadata. Have you tried dumping out metadata and find the invalid segment ? Cheers On Fri, Feb 9, 2018 at 9:18 AM, BELLIER Jean-luc < [email protected]> wrote: > Hello, > > > > I am unable to rebuild cubes. The logs give me the following error : > > > > *Exception in thread "Thread-13" java.lang.RuntimeException: > java.lang.IllegalStateException: Cannot start job scheduler due to lack of > job lock* > > * at > org.apache.kylin.rest.service.JobService$1.run(JobService.java:131)* > > * at java.lang.Thread.run(Thread.java:748)* > > *Caused by: java.lang.IllegalStateException: Cannot start job scheduler > due to lack of job lock* > > * at > org.apache.kylin.job.impl.threadpool.DefaultScheduler.init(DefaultScheduler.java:211)* > > * at > org.apache.kylin.rest.service.JobService$1.run(JobService.java:126)* > > * ... 1 more* > > > > As far as I can see on this topic, I understand that there should be a > process that is still running or was not remove correctly. > > I tried several ‘kylin.sh stop’ / ‘kylin.sh start’ with no effect. > > > > I attach my kylin.out and kylin.log files. > > > > Thank you in advance for your help. > > > > Best regards, > > Jean-Luc. > > > "Ce message est destiné exclusivement aux personnes ou entités auxquelles > il est adressé et peut contenir des informations privilégiées ou > confidentielles. Si vous avez reçu ce document par erreur, merci de nous > l'indiquer par retour, de ne pas le transmettre et de procéder à sa > destruction. > > This message is solely intended for the use of the individual or entity to > which it is addressed and may contain information that is privileged or > confidential. If you have received this communication by error, please > notify us immediately by electronic mail, do not disclose it and delete the > original message." >
