Re: Failed to find metadata store by url: kylin_metadata@hbase
Thanks ShaoFeng. Appear we are having HDFS issue.. On Thu, Jun 28, 2018 at 1:50 AM, ShaoFeng Shi wrote: > It seems your HBase or HDFS is unhealthy: > > org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the > location for replica 0 > > 2018-06-28 10:46 GMT+08:00 我的神啊 <1609749...@qq.com>: > >> Hi: >> >> Did you run the bin/check-env.sh to make sure your environment such Hbase >> is ready? >> >> >> -- 原始邮件 -- >> *发件人:* "deva namaste"; >> *发送时间:* 2018年6月28日(星期四) 上午10:19 >> *收件人:* "user"; >> *主题:* Failed to find metadata store by url: kylin_metadata@hbase >> >> Hi, >> >> I am getting following error when I try to start Kylin using ./kylin.sh >> start command in HDP environment. It does not even create or update >> kylin.log file. Can someone could help me. >> >> Really appreciated. >> >> 2018-06-27 18:58:27,670 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:java.library.path=:/usr/hdp/2.6.4.0-91/hadoop/li >> b/native/Linux-amd64-64:/usr/hdp/2.6.4.0-91/hadoop/lib/nativ >> e/Linux-amd64-64:/usr/hdp/2.6.4.0-91/hadoop/lib/native >> 2018-06-27 18:58:27,670 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:java.io.tmpdir=/tmp >> 2018-06-27 18:58:27,670 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:java.compiler= >> 2018-06-27 18:58:27,671 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:os.name=Linux >> 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:os.arch=amd64 >> 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:os.version=3.10.0-693.21.1.el7.x86_64 >> 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:user.name=root >> 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:user.home=/root >> 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client >> environment:user.dir=/opt/apache-kylin-2.3.0-bin/bin >> 2018-06-27 18:58:27,673 INFO [main] zookeeper.ZooKeeper:438 : Initiating >> client connection, connectString=node03.dev01.tec-eos.com:2181, >> node02.dev01.tec-eos.com:2181,node01.dev01.tec-eos.com:2181 >> sessionTimeout=9 watcher=org.apache.hadoop.hbas >> e.zookeeper.PendingWatcher@5b7a8434 >> 2018-06-27 18:58:27,697 INFO [main-SendThread(node01.dev01. >> tec-eos.com:2181)] zookeeper.ClientCnxn:1019 : Opening socket connection >> to server node01.dev01.tec-eos.com/172.27.41.150:2181. Will not attempt >> to authenticate using SASL (unknown error) >> 2018-06-27 18:58:27,702 INFO [main-SendThread(node01.dev01. >> tec-eos.com:2181)] zookeeper.ClientCnxn:864 : Socket connection >> established, initiating session, client: /172.27.41.151:51684, server: >> node01.dev01.tec-eos.com/172.27.41.150:2181 >> 2018-06-27 18:58:27,720 INFO [main-SendThread(node01.dev01. >> tec-eos.com:2181)] zookeeper.ClientCnxn:1279 : Session establishment >> complete on server node01.dev01.tec-eos.com/172.27.41.150:2181, >> sessionid = 0x16443064be30028, negotiated timeout = 6 >> Exception in thread "main" java.lang.IllegalArgumentException: Failed to >> find metadata store by url: kylin_metadata@hbase >> at org.apache.kylin.common.persistence.ResourceStore.createReso >> urceStore(ResourceStore.java:96) >> at org.apache.kylin.common.persistence.ResourceStore.getStore(R >> esourceStore.java:108) >> at org.apache.kylin.rest.service.AclTableMigrationTool.checkIfN >> eedMigrate(AclTableMigrationTool.java:94) >> at org.apache.kylin.tool.AclTableMigrationCLI.main(AclTableMigr >> ationCLI.java:41) >> Caused by: java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native >> ConstructorAccessorImpl.java:62) >> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De >> legatingConstructorAccessorImpl.java:45) >> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 >> 23) >> at org.apache.kylin.common.persistence.ResourceStore.createReso >> urceStore(ResourceStore.java:90) >> ... 3 more >> Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedException: >> Can't get the location for replica 0 >> at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadRepl >> icas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:354) >> at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.c >> all(ScannerCallableWithReplicas.java:159) >> at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.c >> all(ScannerCallableWithReplicas.java:61) >> at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithout >> Retries(RpcRetryingCaller.java:211) >> at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScan >> ner.java:327) >> at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(Cli >>
Re: Failed to find metadata store by url: kylin_metadata@hbase
It seems your HBase or HDFS is unhealthy: org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the location for replica 0 2018-06-28 10:46 GMT+08:00 我的神啊 <1609749...@qq.com>: > Hi: > > Did you run the bin/check-env.sh to make sure your environment such Hbase > is ready? > > > -- 原始邮件 -- > *发件人:* "deva namaste"; > *发送时间:* 2018年6月28日(星期四) 上午10:19 > *收件人:* "user"; > *主题:* Failed to find metadata store by url: kylin_metadata@hbase > > Hi, > > I am getting following error when I try to start Kylin using ./kylin.sh > start command in HDP environment. It does not even create or update > kylin.log file. Can someone could help me. > > Really appreciated. > > 2018-06-27 18:58:27,670 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:java.library.path=:/usr/hdp/2.6.4.0-91/hadoop/li > b/native/Linux-amd64-64:/usr/hdp/2.6.4.0-91/hadoop/lib/nati > ve/Linux-amd64-64:/usr/hdp/2.6.4.0-91/hadoop/lib/native > 2018-06-27 18:58:27,670 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:java.io.tmpdir=/tmp > 2018-06-27 18:58:27,670 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:java.compiler= > 2018-06-27 18:58:27,671 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:os.name=Linux > 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:os.arch=amd64 > 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:os.version=3.10.0-693.21.1.el7.x86_64 > 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:user.name=root > 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:user.home=/root > 2018-06-27 18:58:27,672 INFO [main] zookeeper.ZooKeeper:100 : Client > environment:user.dir=/opt/apache-kylin-2.3.0-bin/bin > 2018-06-27 18:58:27,673 INFO [main] zookeeper.ZooKeeper:438 : Initiating > client connection, connectString=node03.dev01.tec-eos.com:2181, > node02.dev01.tec-eos.com:2181,node01.dev01.tec-eos.com:2181 > sessionTimeout=9 watcher=org.apache.hadoop.hbas > e.zookeeper.PendingWatcher@5b7a8434 > 2018-06-27 18:58:27,697 INFO [main-SendThread(node01.dev01. > tec-eos.com:2181)] zookeeper.ClientCnxn:1019 : Opening socket connection > to server node01.dev01.tec-eos.com/172.27.41.150:2181. Will not attempt > to authenticate using SASL (unknown error) > 2018-06-27 18:58:27,702 INFO [main-SendThread(node01.dev01. > tec-eos.com:2181)] zookeeper.ClientCnxn:864 : Socket connection > established, initiating session, client: /172.27.41.151:51684, server: > node01.dev01.tec-eos.com/172.27.41.150:2181 > 2018-06-27 18:58:27,720 INFO [main-SendThread(node01.dev01. > tec-eos.com:2181)] zookeeper.ClientCnxn:1279 : Session establishment > complete on server node01.dev01.tec-eos.com/172.27.41.150:2181, sessionid > = 0x16443064be30028, negotiated timeout = 6 > Exception in thread "main" java.lang.IllegalArgumentException: Failed to > find metadata store by url: kylin_metadata@hbase > at org.apache.kylin.common.persistence.ResourceStore.createReso > urceStore(ResourceStore.java:96) > at org.apache.kylin.common.persistence.ResourceStore.getStore( > ResourceStore.java:108) > at org.apache.kylin.rest.service.AclTableMigrationTool.checkIfN > eedMigrate(AclTableMigrationTool.java:94) > at org.apache.kylin.tool.AclTableMigrationCLI.main(AclTableMigr > ationCLI.java:41) > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native > ConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De > legatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at org.apache.kylin.common.persistence.ResourceStore.createReso > urceStore(ResourceStore.java:90) > ... 3 more > Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedException: > Can't get the location for replica 0 > at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadRepl > icas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:354) > at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.c > all(ScannerCallableWithReplicas.java:159) > at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.c > all(ScannerCallableWithReplicas.java:61) > at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithout > Retries(RpcRetryingCaller.java:211) > at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScan > ner.java:327) > at org.apache.hadoop.hbase.client.ClientScanner.nextScanner( > ClientScanner.java:302) > at org.apache.hadoop.hbase.client.ClientScanner.initializeScann > erInConstruction(ClientScanner.java:167) > at org.apache.hadoop.hbase.client.ClientScanner.(ClientSc > anner.java:162) >
Re: Re: Failed to find metadata store by url: kylin_metadata@hbase
ception: Failed to find metadata store > by url: kylin_metadata@hbase > at > org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:99) > at > org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:110) > at org.apache.kylin.cube.CubeManager.getStore(CubeManager.java:812) > at > org.apache.kylin.cube.CubeManager.loadAllCubeInstance(CubeManager.java:732) > at org.apache.kylin.cube.CubeManager.(CubeManager.java:143) > at org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:107) > at > org.apache.kylin.engine.spark.SparkCubingByLayer.execute(SparkCubingByLayer.java:160) > at > org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:37) > ... 10 more > > > Thank you very much! > > -- > java_prog...@aliyun.com > > > *From:* ShaoFeng Shi <shaofeng...@apache.org> > *Date:* 2017-06-28 19:49 > *To:* user <user@kylin.apache.org> > *Subject:* Re: Failed to find metadata store by url: kylin_metadata@hbase > Hi, > > Could you pls provide the full log? I'm afraid the root cause wasn't > included here. There should be other error before or after this. Please > also check whether the hbase-site.xml is in the HADOOP_CONF folder and > Spark executors can connect with HBase cluster. > > Here is a similar question before: http://apache-kylin. > 74782.x6.nabble.com/A-problem-in-cube-building-with-SPARK-td8009.html > > 2017-06-28 16:58 GMT+08:00 java_prog...@aliyun.com < > java_prog...@aliyun.com>: > >> Hi, >> I upgrade Kylin to 2.0. >>I can successs run at Mapreduce engine now ,but when i >> build a cube using spark cube, it shows errors below. >> How could I solve it. Thanks >> >> >> Exception in thread "main" java.lang.RuntimeException: error >> execute org.apache.kylin.engine.spark.SparkCubingByLayer >> at org.apache.kylin.common.util.AbstractApplication.execute( >> AbstractApplication.java:42) >> at org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA >> ccessorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin >> gMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498) >> at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$dep >> loy$SparkSubmit$$runMain(SparkSubmit.scala:731) >> at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSub >> mit.scala:181) >> at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206) >> at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121) >> at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) >> Caused by: java.lang.IllegalArgumentException: Failed to >> find metadata store by url: kylin_metadata@hbase >> at org.apache.kylin.common.persistence.ResourceStore.createR >> esourceStore(ResourceStore.java:99) >> at org.apache.kylin.common.persistence.ResourceStore.getStor >> e(ResourceStore.java:110) >> at org.apache.kylin.cube.CubeManager.getStore(CubeManager.java:812) >> at org.apache.kylin.cube.CubeManager.loadAllCubeInstance(Cub >> eManager.java:732) >> at org.apache.kylin.cube.CubeManager.(CubeManager.java:143) >> at org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:107) >> at org.apache.kylin.engine.spark.SparkCubingByLayer.execute( >> SparkCubingByLayer.java:160) >> at org.apache.kylin.common.util.AbstractApplication.execute( >> AbstractApplication.java:37) >> ... 10 more >> >> -- >> java_prog...@aliyun.com >> > > > > -- > Best regards, > > Shaofeng Shi 史少锋 > >
Re: Re: Failed to find metadata store by url: kylin_metadata@hbase
te(AbstractApplication.java:37) ... 10 more Thank you very much! java_prog...@aliyun.com From: ShaoFeng Shi Date: 2017-06-28 19:49 To: user Subject: Re: Failed to find metadata store by url: kylin_metadata@hbase Hi, Could you pls provide the full log? I'm afraid the root cause wasn't included here. There should be other error before or after this. Please also check whether the hbase-site.xml is in the HADOOP_CONF folder and Spark executors can connect with HBase cluster. Here is a similar question before: http://apache-kylin.74782.x6.nabble.com/A-problem-in-cube-building-with-SPARK-td8009.html 2017-06-28 16:58 GMT+08:00 java_prog...@aliyun.com <java_prog...@aliyun.com>: Hi, I upgrade Kylin to 2.0. I can successs run at Mapreduce engine now ,but when i build a cube using spark cube, it shows errors below. How could I solve it. Thanks Exception in thread "main" java.lang.RuntimeException: error execute org.apache.kylin.engine.spark.SparkCubingByLayer at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:42) at org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44) 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:498) at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731) at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181) at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) Caused by: java.lang.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase at org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:99) at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:110) at org.apache.kylin.cube.CubeManager.getStore(CubeManager.java:812) at org.apache.kylin.cube.CubeManager.loadAllCubeInstance(CubeManager.java:732) at org.apache.kylin.cube.CubeManager.(CubeManager.java:143) at org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:107) at org.apache.kylin.engine.spark.SparkCubingByLayer.execute(SparkCubingByLayer.java:160) at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:37) ... 10 more java_prog...@aliyun.com -- Best regards, Shaofeng Shi 史少锋
Re: Failed to find metadata store by url: kylin_metadata@hbase
Hi, Could you pls provide the full log? I'm afraid the root cause wasn't included here. There should be other error before or after this. Please also check whether the hbase-site.xml is in the HADOOP_CONF folder and Spark executors can connect with HBase cluster. Here is a similar question before: http://apache-kylin.74782.x6.nabble.com/A-problem-in-cube-building-with-SPARK-td8009.html 2017-06-28 16:58 GMT+08:00 java_prog...@aliyun.com: > Hi, > I upgrade Kylin to 2.0. >I can successs run at Mapreduce engine now ,but > when i build a cube using spark cube, it shows errors below. > How could I solve it. Thanks > > > Exception in thread "main" java.lang.RuntimeException: > error execute org.apache.kylin.engine.spark.SparkCubingByLayer > at org.apache.kylin.common.util.AbstractApplication. > execute(AbstractApplication.java:42) > at org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44) > 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:498) > at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$ > deploy$SparkSubmit$$runMain(SparkSubmit.scala:731) > at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181) > at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206) > at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121) > at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) > Caused by: java.lang.IllegalArgumentException: > Failed to find metadata store by url: kylin_metadata@hbase > at org.apache.kylin.common.persistence.ResourceStore.createResourceStore( > ResourceStore.java:99) > at org.apache.kylin.common.persistence.ResourceStore. > getStore(ResourceStore.java:110) > at org.apache.kylin.cube.CubeManager.getStore(CubeManager.java:812) > at org.apache.kylin.cube.CubeManager.loadAllCubeInstance( > CubeManager.java:732) > at org.apache.kylin.cube.CubeManager.(CubeManager.java:143) > at org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:107) > at org.apache.kylin.engine.spark.SparkCubingByLayer. > execute(SparkCubingByLayer.java:160) > at org.apache.kylin.common.util.AbstractApplication. > execute(AbstractApplication.java:37) > ... 10 more > > -- > java_prog...@aliyun.com > -- Best regards, Shaofeng Shi 史少锋
Re: Failed to find metadata store by url: kylin_metadata@hbase
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 Jwrote: > 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: >
Re: Failed to find metadata store by url: kylin_metadata@hbase
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
Re: Failed to find metadata store by url: kylin_metadata@hbase
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 Jwrote: > 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 ? >