请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

./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:.*’

正在回答 回答被采纳积分+3

3回答

叁金 2019-03-25 18:32:09

朋友,你的服务器我登录看了。    现在的现状是是hadoop的datanode无法启动。

0 回复 有任何疑惑可以回复我~
提问者 moss17 2019-03-21 14:11:11

https://img1.sycdn.imooc.com//szimg/5c932abc0001714918650801.jpg

开始启动

/home/hadoop-2.7.3/bin

./hadoop namenode –format 就报上面的错误

0 回复 有任何疑惑可以回复我~
提问者 moss17 2019-03-21 13:56:14

https://img1.sycdn.imooc.com//szimg/5c93276e00015f6305400248.jpg

截图图

0 回复 有任何疑惑可以回复我~
  • 你这个问题我也遇到了,
    排查步骤,
    1.刚刚上面老师也说了,你的datanode没有起来。你验证下 jps,datanode是否起来了,如果没起来可能是多次namenode format这个原因造成的https://blog.csdn.net/huguihua2002/article/details/100079564
    2.如果datanode是OK的,那么起来之后还是有这个问题,你就看去~/hbase/log中看看是属于哪个模块报错了。我是由于hdfs的端口号和老师配置的不一样,导致的。
    3.如果继续排查不了,可以看看相关stackoverflow,上面别人的提问,解释的也很合理
    https://stackoverflow.com/questions/22663484/get-error-cant-get-master-address-from-zookeeper-znode-data-null-when-us
    回复 有任何疑惑可以回复我~ 2020-03-18 17:11:15

相似问题

登录后可查看更多问答,登录/注册

问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号