在hbase shell中出现error: KeeperErrorCode = NoNode for /hbase/master

搭建完集群之后,在hbase shell中查看表,出现error: KeeperErrorCode = NoNode for /hbase/master错误

排除解决:

1.查看jps里面的进程,hbase的HMaster和hadoop的datanode挂掉了

2.查看hbase的log,信息如下:org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/.tmp/hbase.version could only be written to 0 of the 1 minReplication nodes. There are 0 datanode(s) running and 0 node(s) are excluded in this operation.

之间信息省略。。。。。。。

     ERROR [main] master.HMasterCommandLine: Master exiting
     java.lang.RuntimeException: HMaster Aborted


3.通过hbase上述日志,可以定位到hadoop的DataNode挂掉导致(因为我是单机部署,就一个)

4.查看hadoop的DataNode日志,信息如下:WARN org.apache.hadoop.hdfs.server.common.Storage: Failed to add storage directory [DISK]file:/root/bigdata/hadoop-3.1.2/dfs_datanode_data_dir
java.io.IOException: Incompatible clusterIDs in /root/bigdata/hadoop-3.1.2/dfs_datanode_d

  • 0
    点赞
  • 15
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值