kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Yang <liy...@apache.org>
Subject Re: Failed to find metadata store by url: kylin_metadata@hbase
Date Sun, 27 Mar 2016 00:35:25 GMT
> Caused by: java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.client.Get.setCheckExistenceOnly(Z)V

Are you sure HBase version is 0.99.0? According to the source code, the
method is there.

https://github.com/apache/hbase/blob/rel/0.99.0/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Get.java


On Thu, Mar 24, 2016 at 11:19 PM, Luke Han <luke.hq@gmail.com> wrote:

> v1.5.0 not compatible with previous version, please contact dev@list for
> further help.
>
> We recommend wait a while for a detail upgrade tool and guide available
> later.
>
> Thanks.
>
>
> Best Regards!
> ---------------------
>
> Luke Han
>
> On Thu, Mar 24, 2016 at 3:29 PM, Mars J <xujiao.mycafe@gmail.com> wrote:
>
>> it upgrade from old version. and it related to the metadata, at the same
>> time, the hbase table kylin_metadata can't found in hbase, but can found in
>> zookeeper,so i delete it and all hbase metadata in zookeeper,the problem is
>> not exist. but there is another problem .the more detail log information as
>> follow,
>> 2016-03-24 15:27:02,895 INFO  [localhost-startStop-1]
>> persistence.ResourceStore:79 : Using metadata url kylin_metadata@hbase
>> for resource store
>> 2016-03-24 15:27:03,143 INFO  [localhost-startStop-1]
>> hbase.HBaseConnection:139 : connection is null or closed, creating a new one
>> 2016-03-24 15:27:05,619 DEBUG [localhost-startStop-1]
>> hbase.HBaseConnection:185 : HTable 'kylin_metadata' already exists
>> 2016-03-24 15:27:05,739 ERROR [localhost-startStop-1]
>> context.ContextLoader:307 : Context initialization failed
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'queryService': Injection of autowired dependencies failed;
>> nested exception is
>> org.springframework.beans.factory.BeanCreationException: Could not autowire
>> field: private org.apache.kylin.rest.service.CacheService
>> org.apache.kylin.rest.service.QueryService.cacheService; nested exception
>> is org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'cacheService': Invocation of init method failed; nested
>> exception is java.lang.NoSuchMethodError:
>> org.apache.hadoop.hbase.client.Get.setCheckExistenceOnly(Z)V
>> at
>> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
>> 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:511)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> 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)
>> Caused by: org.springframework.beans.factory.BeanCreationException: Could
>> not autowire field: private org.apache.kylin.rest.service.CacheService
>> org.apache.kylin.rest.service.QueryService.cacheService; nested exception
>> is org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'cacheService': Invocation of init method failed; nested
>> exception is java.lang.NoSuchMethodError:
>> org.apache.hadoop.hbase.client.Get.setCheckExistenceOnly(Z)V
>> at
>> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
>> at
>> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
>> at
>> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
>> ... 26 more
>> Caused by: org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name 'cacheService': Invocation of init method failed;
>> nested exception is java.lang.NoSuchMethodError:
>> org.apache.hadoop.hbase.client.Get.setCheckExistenceOnly(Z)V
>> at
>> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:135)
>> 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.findAutowireCandidates(DefaultListableBeanFactory.java:876)
>> at
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818)
>> at
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
>> at
>> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
>> ... 28 more
>> Caused by: java.lang.NoSuchMethodError:
>> org.apache.hadoop.hbase.client.Get.setCheckExistenceOnly(Z)V
>> at
>> org.apache.kylin.storage.hbase.HBaseResourceStore.getFromHTable(HBaseResourceStore.java:314)
>> at
>> org.apache.kylin.storage.hbase.HBaseResourceStore.existsImpl(HBaseResourceStore.java:151)
>> at
>> org.apache.kylin.common.persistence.ResourceStore.exists(ResourceStore.java:131)
>> at
>> org.apache.kylin.common.persistence.ResourceStore.scanRecursively(ResourceStore.java:288)
>> at
>> org.apache.kylin.common.persistence.ResourceStore.collectResourceRecursively(ResourceStore.java:294)
>> at
>> org.apache.kylin.cube.CubeManager.loadAllCubeInstance(CubeManager.java:808)
>> at org.apache.kylin.cube.CubeManager.<init>(CubeManager.java:126)
>> at org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:95)
>> at
>> org.apache.kylin.rest.service.CacheService.initCubeChangeListener(CacheService.java:78)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:497)
>> 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)
>> ... 40 more
>>
>>
>>
>> 2016-03-23 21:16 GMT+08:00 Luke Han <luke.hq@gmail.com>:
>>
>>> Please share more detail log information for this issue.
>>>
>>> Does this refresh installation of 1.5 or you are trying to upgrade from
>>> old version?
>>>
>>> Thanks.
>>>
>>>
>>> Best Regards!
>>> ---------------------
>>>
>>> Luke Han
>>>
>>> On Wed, Mar 23, 2016 at 5:19 PM, Mars J <xujiao.mycafe@gmail.com> wrote:
>>>
>>>> Hi,
>>>>    I met a problem when I use the kylin v1.5 with hbase 0.99.0 & hadoop
>>>> 2.7.2 , and the kylin.log has the error message like this :
>>>> Caused by: java.lang.IllegalArgumentException: Failed to find metadata
>>>> store by url: kylin_metadata@hbase
>>>>
>>>>     I haven't alter the kylin.properties metadata.url property
>>>>
>>>>    How can I fix this ?
>>>>
>>>
>>>
>>
>

Mime
View raw message