File /hbase could only be replicated to 0 nodes instead of minReplication (=1). There are 30 datanode(s) running and no node(s) are excluded in this operation.

原因

hdfs-site.xml中的配置为:

<property>
    <name>dfs.datanode.du.reserved</name>
    <value>400000000000</value>
</property>

 dfs.datanode.du.reserved值太大了,预留近400G。

设小一点就可以了10737418240,例如10G。

原文地址:https://www.cnblogs.com/lixiaolun/p/6495971.html