[mw_shl_code=shell,true]<property>
<name>dfs.datanode.du.reserved</name>
<!-- cluster variant -->
<value>236223201280</value>
<description>Reserved space in bytes per volume. Always leave this much space free for non dfs use.
</description>
</property>[/mw_shl_code]
这个空间尽量的小,然后使用下面shell逐个重启
[mw_shl_code=shell,true]for i in `list `;do
ssh $i "hadoop/bin/hadoop-daemon.sh stop datanode && sleep 1 && hadoop/bin/hadoop-daemon.sh start datanode; sleep 30";
done[/mw_shl_code]