2024.9.16(周一)

今天主要是安装hbase数据库,出现的问题是运行hbase shell 输入 list,等基本语句报错,例如

ERROR: Can't get master address from ZooKeeper; znode data == null

Here is some help for this command:
List all tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:
hbase> list
hbase> list 'abc.*'
hbase> list 'ns:abc.*'
hbase> list 'ns:.*'

可能原因: 1. 时间不同步, hbase集群所有莫名其妙的问题都有可能是时间不同步导致的!!!一定要注意!!
2. hbase-site.xml里面的hbase.rootdir对应的ip与core-site.xml中的fs.defaultFS中的路径不同,或者是与hdfs文件系统的端口号不一致!

这是我在csdn中找的方法,原文链接:hbase常见问题及解决方案总结(一)_could not access hbase table-CSDN博客

 

posted @ 2024-09-22 23:44  记得关月亮  阅读(18)  评论(0)    收藏  举报