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

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加上

hbase.unsafe.stream.capability.enforce

false

重启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

你可能感兴趣的:(hdfs.DFSClient: DataStreamer Exception org.apache.hadoop.ipc.RemoteException(java.io.IOException)...)