hdfs.DFSClient: DataStreamer Exception org.apache.hadoop.ipc.RemoteException(java.io.IOException)…

内容分享2小时前发布
0 0 0

hdfs.DFSClient: DataStreamer Exception

org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/MasterProcWALs/state-00000000000000000054.log could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and no node(s) are excluded in this operation.

HBASE的master日志报错如上,现象是Hmaster启动之后,没一会,自动消失,界面打不开,ip:60010打不开,日志报错如上,日志在$HBASE_HOME/logs里面的hbase-hadoopadmin-master-cdhalone.log

需要在HBASE-site.xm加上

<property>

<name>hbase.unsafe.stream.capability.enforce</name>

<value>false</value>

</property>

重启HBASE,搞定

HBASE官方的一篇文章关于这个参数的

http://apache-hbase.679495.n3.nabble.com/Possible-Reference-Guide-Error-Pseudo-case-hbase-unsafe-stream-capability-enforce-should-set-to-false-td4097327.html

© 版权声明

相关文章

暂无评论

none
暂无评论...