栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

ERROR: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the val

ERROR: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the val

最近安装hbase的时候出现了一些问题

hbase shell执行list命令时出现了

ERROR: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the val

搞了一天发现只要在hbase-site.xml里的root后面加一个点就好了 

 解决方法

1.重新启动hbase

stop-hbase.sh

start-hbase.sh

2.修改hbase-site.xml文件





hbase.root.dir     //注意root后面加一个点
hdfs://192.168.121.134:9000/hbase


hbase.master
hdfs://192.168.121.134:60000


hbase.zookeeper.property.dataDir
/export/servers/zookeeper-3.4.10/data


hbase.cluster.distributed
true


hbase.zookeeper.quorum
hadoop01,hadoop02,hadoop03     


hbase.zookeeper.property.clientPort
2181


hbase.master.info.port
60010

hbase.zookeeper.quorum用来设置hbase集群中哪些节点安装了 zookeeper,只能设置为主机名而不是ip地址。hbase1.0以后的版本需要手动配置web访问端口号60010。

启动hbase前要先启动hadoop集群和zookeeper集群。有用的话帮忙点一个赞

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/304586.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号