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。

posted @ 2017-03-03 12:20  Entropy_lxl  阅读(655)  评论(0编辑  收藏  举报