当前位置:   article > 正文

在运行hbase操作时出现错误:ERROR: Can‘t get master address from ZooKeeper; znode data == null_error:can't get master address

error:can't get master address

在运行hbase操作时出现错误:ERROR: Can’t get master address from ZooKeeper; znode data == null,可能是ZooKeeper不稳定导致的

hbase(main):003:0> status

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

Here is some help for this command:
Show cluster status. Can be 'summary', 'simple', 'detailed', or 'replication'. The
default is 'summary'. Examples:

  hbase> status
  hbase> status 'simple'
  hbase> status 'summary'
  hbase> status 'detailed'
  hbase> status 'replication'
  hbase> status 'replication', 'source'
  hbase> status 'replication', 'sink'
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15

处理方法是重启hbase:
需要切换到存放hbase/bin目录下,运行

stop-hbase.sh
start-hbase.sh
  • 1
  • 2
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/699116
推荐阅读
相关标签
  

闽ICP备14008679号