The ResourceTool can be used to individual json resource. On Wed, May 18, 2016 at 3:04 PM, 耳东 <775620...@qq.com> wrote:
> I have not perform any direct access to hbase metadata store. But I edit > the cube definition without perge the data, and after this operation, this > cube disappeared. > > > I have checked there is a json in cube_desc/ called TERMINAL_MME_CUBE . > I think this json is corrupted, how can I delete this cube. > > > > > > > ------------------ 原始邮件 ------------------ > 发件人: "mahongbin";<mahong...@apache.org>; > 发送时间: 2016年5月18日(星期三) 中午12:02 > 收件人: "dev"<dev@kylin.apache.org>; > > 主题: Re: CubeInstance desc not found > > > > Seems you metadata store is corrupted, did you perform any direct access to > hbase metadata store? > > Dump you metadata store with `$KYLIN_HOME/bin/metastore.sh backup`, is > there a json named TERMINAL_MME_CUBE in cube_desc/ ? > > You can also upload the dumped store so that the community can help to > analysis > > On Tue, May 17, 2016 at 9:24 PM, 耳东 <775620...@qq.com> wrote: > > > hi ALL: > > I create a few cube in a project. When I refresh the web page, > some > > of the cubes will disappear, and the log shows below: > > > > > > 2016-05-17 21:23:36,330 ERROR [localhost-startStop-1] > cube.CubeManager:856 > > : Error during load cube instance /cube/terminal_mme_cube.json > > java.lang.IllegalStateException: CubeInstance desc not found > > 'TERMINAL_MME_CUBE', at /cube/terminal_mme_cube.json > > at > > org.apache.kylin.cube.CubeManager.reloadCubeLocalAt(CubeManager.java:829) > > at > > > org.apache.kylin.cube.CubeManager.loadAllCubeInstance(CubeManager.java:814) > > at org.apache.kylin.cube.CubeManager.<init>(CubeManager.java:127) > > at > > org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:96) > > at > > > org.apache.kylin.rest.service.CacheService.initCubeChangeListener(CacheService.java:79) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:606) > > at > > > org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346) > > at > > > org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299) > > at > > > org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) > > at > > > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > > at > > > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) > > at > > > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) > > at > > > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) > > at > > > org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) > > at > > > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) > > at > > > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) > > at > > > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) > > at > > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524) > > at > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > at > > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > > at > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > > at > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) > > at > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081) > > at > > > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877) > > 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:744) > > > > > -- > Regards, > > *Bin Mahone | 马洪宾* > Apache Kylin: http://kylin.io > Github: https://github.com/binmahone >