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

报错信息:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/hbase/hbase-0.98.7-hadoop2/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hadoop/hadoop-2.5.1/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2018-05-31 12:22:12,956 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

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:.*'

之前我也说过,安装成功了也还有很多坑的,不要担心,不要心慌,慢慢去解决它就是成长。

解决方法一:
重启hbase

解决方法二:
重启整个系统(我是在这一方法弄好的)

解决方法三:
删除hdfs系统上的hbase文件夹

解决方法四:
删除zookeeper的文件夹(没创建的不用理会)

解决方法五:
重新格式化namenode

解决方法六:
重新拷贝同学的虚拟机

解决方法七:
把电脑砸了,换新的

猜你喜欢

转载自blog.csdn.net/magic_ninja/article/details/80524778
今日推荐