ERROR: KeeperErrorCode = NoNode for /hbase/master

环境

    操作系统:Ubuntu 20.04.1 LTS    

    Hadoop Version: hadoop-3.1.3.tar.gz  (下载地址: https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/ )

    HBase Version :  2.2.2

hbase shell出错

ERROR: KeeperErrorCode = NoNode for /hbase/master

修正办法

在配置文件 hbase-site.xml 中添加:

<property>
  <name>hbase.unsafe.stream.capability.enforce</name>
  <value>false</value>
</property>

  

adoop@master: hbase shell
 
/usr/local/hadoop-3.1.3/libexec/hadoop-functions.sh: line 2360: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_USER: invalid variable name
/usr/local/hadoop-3.1.3/libexec/hadoop-functions.sh: line 2455: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_OPTS: invalid variable name
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hadoop-3.1.3/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hbase-2.2.2/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell
Version 2.2.2, re6513a76c91cceda95dad7af246ac81d46fa2589, Sat Oct 19 10:10:12 UTC 2019
Took 0.0161 seconds                                                                                                                   
hbase(main):001:0> list
TABLE                                                                                                                                 
0 row(s)
Took 0.9671 seconds                                                                                                                   
=> []
posted @ 2020-10-21 11:42  lenomail  阅读(802)  评论(0编辑  收藏  举报