HBase Shell 启动非常慢 & 写入命令出现 ERROR: KeeperErrorCode = NoNode for /hbase/master

问题简单描述
在根据相关教程已经写好的了环境和一些配置文件的代码 最终启动的时候还是显示如下错误

ERROR: KeeperErrorCode = NoNode for /hbase/master

不仅如此,而且启动HBase 的时候也非常慢
解决:在hbase/conf/hbase-site.xml 这个文件增加下面的代码

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

未来可期

[root@master hbase]# start-hbase.sh SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/server/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/export/server/hbase/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] running master, logging to /export/server/hbase/logs/hbase-ma-master-master.out SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/server/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/export/server/hbase/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] 192.168.81.130: regionserver running as process 89758. Stop it first. 192.168.81.132: regionserver running as process 13831. Stop it first. 192.168.81.131: regionserver running as process 11129. Stop it first. 192.168.81.131: running master, logging to /export/server/hbase/logs/hbase-root-master-slave1.out [root@master hbase]# jps 94593 NodeManager 109537 RunJar 94912 JobHistoryServer 60580 HMaster 60998 Jps 85449 SecondaryNameNode 84908 NameNode 27341 QuorumPeerMain 94420 ResourceManager 86359 RunJar 86940 RunJar 111996 RunJar 89758 HRegionServer [root@master hbase]# hbase shell SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/server/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/export/server/hbase/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 &quot;help&quot; to get list of supported commands. Use &quot;exit&quot; 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.0047 seconds hbase(main):001:0&gt; create_namespace &#39;bigdata&#39; ERROR: KeeperErrorCode = NoNode for /hbase/master For usage try &#39;help &quot;create_namespace&quot;&#39; Took 0.0886 seconds hbase(main):002:0&gt; list_namespace NAMESPACE ERROR: KeeperErrorCode = NoNode for /hbase/master For usage try &#39;help &quot;list_namespace&quot;&#39; Took 0.0134 seconds hbase(main):003:0&gt; create &#39;bigdata:student&#39;, {NAME =&gt; &#39;info&#39;, VERSIONS =&gt; 5}, {NAME =&gt; &#39;msg&#39;} ERROR: KeeperErrorCode = NoNode for /hbase/master For usage try &#39;help &quot;create&quot;&#39; Took 0.0159 seconds hbase(main):004:0&gt; 怎么解决
最新发布
12-19
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值