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日志報錯如上,現(xiàn)象是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官方的一篇文章關(guān)于這個參數(shù)的
http://apache-hbase.679495.n3.nabble.com/Possible-Reference-Guide-Error-Pseudo-case-hbase-unsafe-stream-capability-enforce-should-set-to-false-td4097327.html