Low Orbit Flux Logo 2 D

Does HDFS du Include Replication?

After actually looking at your disk space and the output from different commands you may be wondering, “Does HDFS du include replication?”.

Answer: Not in earlier versions of Hadoop. The “hdfs dfs -du /” command shows how much space is used without replication. Multiply this by the replication factor for total usage or use the “hdfs dfsadmin -report” command. The du actually shows both in later versions of Hadoop.