关于启动kylin报Failed to find metadata store by url: kylin_metadata@hbase的问题解决
一、出问题的原因
昨天因为项目需要,要将cloudera集群改成高可用,没想到失败了,当时因为冲动手动删了几个hdfs实例的原因,导致退不到原来的状态,折腾了一天,最后终于退回了非HA的集群,但是hdfs里面的资料已经没了(还好是测试集群,不然死定了)。后面其他工具陆续搞到可以使用的状态,偏偏kylin又报错了。
二、具体报错和解决
1. 具体报错
Exception in thread "main" java.lang.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase
……
Caused by: java.lang.reflect.InvocationTargetException
……
Caused by: org.apache.hadoop.hbase.TableExistsException: kylin_metadata
……
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.TableExistsException): kylin_metadata
……
2019-05-17 15:26:59,219 INFO [close-hbase-conn] hbase.HBaseConnection:136 : Closing HBase connections...
2019-05-17 15:26:59,219 INFO [close-hbase-conn] client.ConnectionManager$HConnectionImplementation:2272 : Closing master protocol: MasterService
2019-05-17 15:26:59,221 INFO [close-hbase-conn] client.ConnectionManager$HConnectionImplementation:1843 : Closing zookeeper sessionid=0x36ac094c98408cd
2019-05-17 15:26:59,226 INFO [Thread-7] zookeeper.ZooKeeper:684 : Session: 0x26ac094caf208b9 closed
2019-05-17 15:26:59,226 INFO [main-EventThread] zookeeper.ClientCnxn:512 : EventThread shut down
2019-05-17 15:26:59,234 INFO [main-EventThread] zookeeper.ClientCnxn:512 : EventThread shut down
2019-05-17 15:26:59,234 INFO [close-hbase-conn] zookeeper.ZooKeeper:684 : Session: 0x36ac094c98408cd closed
ERROR: Unknown error. Please check full log.
关键报错信息有两条:
Caused by: org.apache.hadoop.hbase.TableExistsException: kylin_metadata
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.TableExistsException): kylin_metadata
应该是之前遗留的kylin元数据冲突了,所以需要找到相应的数据并删除。
注意:接下来的操作可能会删除你kylin中原有的所有模型和cube数据,请谨慎操作。
2. 解决办法
连接zookeeper客户端,具体方法可以参考:ZooKeeper客户端 zkCli.sh 节点的增删改查。
连接上去后,删除两个表:
rmr /kylin/kylin_metadata
rmr /hbase/table/kylin_metadata
重启kylin。
三、参考
1. Failed to find metadata store by url: kylin_metadata@hbase
2. Kylin启动报错:Failed to find metadata store by url: kylin_metadata@hbase
3. ZooKeeper客户端 zkCli.sh 节点的增删改查
(完)
关于启动kylin报Failed to find metadata store by url: kylin_metadata@hbase的问题解决的更多相关文章
- Kylin启动时错误:Failed to find metadata store by url: kylin_metadata@hbase 解决办法
一.问题背景 安装kylin后使用命令 $ kylin.sh start 后出现Failed to find metadata store by url: kylin_metadata@hbase的错 ...
- HBASE启动失败,Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
Master日志错误:2015-12-02 06:34:32,394 ERROR [main] master.HMasterCommandLine: Master exitingjava.lang.R ...
- 启动docker报Failed to start Docker Application Container Engine.解决
[root@docker ~]# systemctl status docker.service● docker.service - Docker Application Container Engi ...
- Eclipse中启动tomcat报错:A child container failed during start
我真的很崩溃,先是workspace崩了,费了好久重建的workspace,然后建立了一个小demo项目,tomcat中启动却报错,挑选其中比较重要的2条信息如下: A child container ...
- spring boot 整合kafka 报错 Exception thrown when sending a message with key='null' and payload=JSON to topic proccess_trading_end: TimeoutException: Failed to update metadata after 60000 ms.
org.springframework.kafka.support.LoggingProducerListener- Exception thrown when sending a message w ...
- eclipse 启动tomcat报Spring错误 Error creating bean with name 'serviceOrderBiz': Injection of autowired dependencies failed
启动tomcat报异常,提示Sring无法创建serviceOrderBiz(第一行红字),继续看是因为有一个自动注入的字段无法注入ModuleInterfaceBiz(第二行红字),检查servic ...
- 记一次Eureka启动报Failed to start bean 'eurekaAutoServiceRegistration' 。。。错误
在一次项目迁移的过程中,新导入了两个依赖,结果项目启动就报错,如下: 主要原因是:Failed to start bean 'eurekaAutoServiceRegistration'; neste ...
- 启动Myeclipse报错“Failed to create the Java Virtual Machine”的解决办法
我安装的是Myeclipse 10.7.1.装上好久没用,今天启动突然报错:Failed to create the Java Virtual Machine. 检查Myeclipse安装好使用时好的 ...
- 启动Myeclipse报错“Failed to create the Java Virtual Machine”的解决办法
我安装的是Myeclipse 10.7.1.装上好久没用,今天启动突然报错:Failed to create the Java Virtual Machine. 检查Myeclipse安装好使用时好的 ...
随机推荐
- 数据结构实验之排序七:选课名单 (SDUT 3404)
#include <stdio.h> #include <string.h> #include <stdlib.h> struct node { char data ...
- 部署Django到云服务器(centos+nginx+mysql+uwsgi+python3)【操作篇(1)】
开篇 笛卡尔说:"你不能教会一个人任何东西,你只能帮助他发现他自己内心本来就有的东西!" jacky能教你的,只能是经验和建议,要逆袭还得通过自己对数据的不断领悟,数据领域的技能都 ...
- Codeforces Round #604 (Div. 1) - 1C - Beautiful Mirrors with queries
题意 给出排成一列的 \(n\) 个格子,你要从 \(1\) 号格子走到 \(n\) 号格子之后(相当于 \(n+1\) 号格子),一旦你走到 \(i+1\) 号格子,游戏结束. 当你在 \(i\) ...
- HTML5+和MUI页面操作
最近总是碰到针对页面的一些操作,以下是针对webview的一些简单方法以及个人理解.更多详尽的内容请参考标准文档:http://www.html5plus.org/doc/zh_cn/webview. ...
- Vue学习手记08-vue-cli的启动过程
分两种情况---无路由和有路由 无路由 看到启动页面 在文件main.js( vue项目的入口文件)中 这里可以看到,生成了一个全局的vue实例,绑定在了#app上面,也就是在文件index.html ...
- python window窗口
from Tkinter import * root=Tk() root.title('我是root窗口!') L=Label(root,text='我属于root') L.pack() f=Topl ...
- 树莓派VNC
sudo raspi-config Interfacing Options -> VNC 1.停止VNC窗口: vncserver -kill:1 2.修改密码 vncpasswd 3.重启服务 ...
- SWLU:主核性能采样、调试工具包
http://bbs.nsccwx.cn/topic/262/swlu-主核性能采样-调试工具包
- pip 安装,更新模块
moudle_name:是对应的模块名:请自行更换为自己需要更新的模块名 查看所有可更新的模块: pip list --outdated 更新某一个模块: pip install --upgrade ...
- ionic4 路由跳转、ionic4 路由跳转传值 NavController 返回上一页 、NavController 回到根
1.普通路由跳转 <ion-button [routerLink]="['/pinfo']"> 跳转到详情 </ion-button> <ion-he ...