今天看啥  ›  专栏  ›  潘书鹏的BigData

ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

潘书鹏的BigData  · CSDN  ·  · 2019-12-12 12:15

异常信息 :

在这里插入图片描述
解决方法 : 集群时间不同

设置一下时间
在完成上部操作之后,重启hbase服务时又会报错:

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
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

解决方案
这时,出现的问题是由于节点多次或长期挂起导致的zookeeper不稳定,我们可以通过多次重启hbase服务或者是格式化namenode和DataNode,解决问题。




原文地址:访问原文地址
快照地址: 访问文章快照