数码控科技猎奇Iphone动漫星座游戏电竞lolcosplay王者荣耀攻略allcnewsBLOGNEWSBLOGASKBLOGBLOGZSK全部技术问答问答技术问答it问答代码软件新闻开发博客电脑/网络手机/数码笔记本电脑互联网操作系统软件硬件编程开发360产品资源分享电脑知识文档中心IT全部全部分类全部分类技术牛文全部分类教程最新网页制作cms教程平面设计媒体动画操作系统网站运营网络安全服务器教程数据库工具网络安全软件教学vbscript正则表达式javascript批处理更多»编程更新教程更新游戏更新allitnewsJava新闻网络医疗信息化安全创业站长电商科技访谈域名会议专栏创业动态融资创投创业学院 / 产品经理创业公司人物访谈营销开发数据库服务器系统虚拟化云计算嵌入式移动开发作业作业1常见软件all电脑网络手机数码生活游戏体育运动明星影音休闲爱好文化艺术社会民生教育科学医疗健康金融管理情感社交地区其他电脑互联网软件硬件编程开发360相关产品手机平板其他电子产品摄影器材360硬件通讯智能设备购物时尚生活常识美容塑身服装服饰出行旅游交通汽车购房置业家居装修美食烹饪单机电脑游戏网页游戏电视游戏桌游棋牌游戏手机游戏小游戏掌机游戏客户端游戏集体游戏其他游戏体育赛事篮球足球其他运动球类运动赛车健身运动运动用品影视娱乐人物音乐动漫摄影摄像收藏宠物幽默搞笑起名花鸟鱼虫茶艺彩票星座占卜书画美术舞蹈小说图书器乐声乐小品相声戏剧戏曲手工艺品历史话题时事政治就业职场军事国防节日风俗法律法规宗教礼仪礼节自然灾害360维权社会人物升学入学人文社科外语资格考试公务员留学出国家庭教育学习方法语文物理生物工程学农业数学化学健康知识心理健康孕育早教内科外科妇产科儿科皮肤科五官科男科整形中医药品传染科其他疾病医院两性肿瘤科创业投资企业管理财务税务银行股票金融理财基金债券保险贸易商务文书国民经济爱情婚姻家庭烦恼北京上海重庆天津黑龙江吉林辽宁河北内蒙古山西陕西宁夏甘肃青海新疆西藏四川贵州云南河南湖北湖南山东江苏浙江安徽江西福建广东广西海南香港澳门台湾海外地区

启动kylin报错 Failed to find metadata store by url -

来源:本网整理  责任编辑:小易  时间:2018/1/17 9:55:56
本网有用户碰到这样的问题:启动kylin报错 Failed to find metadata store by url - ,具体问题如下:

@LukeHan 你好,想跟你请教个问题:

我在安装启动kylin的时候,报错。上周已经发送邮件到社区,但是没有人回复。

环境是 CDH5.7,hadoop2.6,hbase 1.2, zk 3.4.5,kylin 1.5.1 特别二进制版包

报错信息如下:

2016-05-03 10:52:16,981 INFO  [localhost-startStop-1] cube.CubeManager:124 : Initializing CubeManager with config kylin_metadata@hbase
2016-05-03 10:52:16,984 INFO  [localhost-startStop-1] persistence.ResourceStore:82 : Using metadata url kylin_metadata@hbase for resource store
2016-05-03 10:52:17,153 INFO  [localhost-startStop-1] hbase.HBaseConnection:139 : connection is null or closed, creating a new one
2016-05-03 10:52:18,613 DEBUG [localhost-startStop-1] hbase.HBaseConnection:189 : Creating HTable 'kylin_metadata'
2016-05-03 10:52:18,727 ERROR [localhost-startStop-1] persistence.ResourceStore:91 : Create new store instance failed 
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: File not exist by 'kylin_metadata@hbase ': /usr/local/kylin/apache-kylin-1.5.1-bin/kylin_metadata@hbase
at org.apache.kylin.common.persistence.FileResourceStore.<init>(FileResourceStore.java:49)
... 58 more
2016-05-03 10:52:18,729 ERROR [localhost-startStop-1] persistence.ResourceStore:91 : Create new store instance failed 
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
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:745)
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.HTableDescriptor.addFamily(Lorg/apache/hadoop/hbase/HColumnDescriptor;)Lorg/apache/hadoop/hbase/HTableDescriptor;
at org.apache.kylin.storage.hbase.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:197)
at org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:90)
at org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:86)
... 58 more
2016-05-03 10:52:18,744 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.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
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: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.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase
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.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase
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.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase
at org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:93)
at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:104)
at org.apache.kylin.cube.CubeManager.getStore(CubeManager.java:874)
at org.apache.kylin.cube.CubeManager.loadAllCubeInstance(CubeManager.java:808)
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)
... 40 more


本网根据需求用户需求,为用户寻得以下其他网友提供的解决方法,方法仅供参考,具体如下:

请检查HBase是否可以正常连接:

Caused by: java.lang.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase

相关问题请在邮件列表获得帮助,谢谢。

--- 共有 2 条评论 ---
木子简: 回复 @社区管理员 : 最后怎么解决的 1年前 社区管理员: HBase 我通过shell可以链接,并且可以写命令,web ui 也可以打开 其他的链接方式,还没有使用,应该是可以的。 2年前

用户提供的解决方案2:

你的这个问题是怎么解决的?新人求指导。。。

用户提供的解决方案3:

Create new store instance failed 最后怎么解决的

引用来自“木子简”的评论

Create new store instance failed 最后怎么解决的相关问题请在邮件列表获得帮助,谢谢
--- 共有 1 条评论 ---
木子简: THINK U! 1年前 楼主错误怎么解决的,我也遇到相同问题了
--- 共有 2 条评论 ---
迷思J: 回复 @社区管理员 :请问楼主你是用的哪个版本呢,我用的是HBase 1.1.2.2.3.2.0-2950 1年前 社区管理员: 我换了HBase的版本,换成原生的就解决了 1年前

用户提供的解决方案6:

一般出此错误是因为kylin没能连接到hbase;请检查hbase的健康状况,并测试当前shell用户是否有权限创建hbase table


  • 本文相关:
  • 在kylin下面如何挂载mybooklive硬盘的data分区
  • 有没有国内的ubuntukylin镜像站
  • UbuntuKylin 是公司,还是个人发起?
  • WIN7下使用VMW 安装UbuntuKylin 键盘无法输入
  • 国人定制版本天气里面不加上实时pm2.5?
  • kylin 启动问题
  • kylin起来的时候,一直在 Logging initialized using configuration in file:/etc/hive/2.3.2.0-2950/0/hive-log4j.properties
  • kylin1.5启动报错
  • kylin error in coprocessor
  • 如何将apache kylin 在Eclipse中把这个项目跑起来?
  • apache kylin不能正常安装
  • apache kylin 构建cube的时候提示找不到表
  • apache kylin 环境搭建
  • kylin 删除SEGMENT或者添加中间时间片段的SEGMENT
  • kylin demo
  • apache kylin hadoop/hive为什么必须是CDH版本
  • 免责声明 - 关于我们 - 联系我们 - 广告联系 - 友情链接 - 帮助中心 - 频道导航
    Copyright © 2017 www.zgxue.com All Rights Reserved