I need to return disk space from all my hadop HDFS datanodes. Each of them is configured as follows:
<property>
<name>dfs.data.dir</name>
<value>/d01,/d02,/d03</value>
</property>
How can I safely remove the / d 03 file system from all nodes and rebalance them? I experimented with decommissioning a node, deleting a directory and re-commissioning, but it is very slow and I wonder if there is a better way?
parso source
share