0 votes
in HDFS by
How will you measure HDFS space consumed?

1 Answer

0 votes
by

The two popular utilities or commands to measure HDFS space consumed are hdfs dfs –du and hdfs dfsadmin –report. HDFS provides reliable storage by copying data to multiple nodes. The number of copies it creates is usually referred to as the replication factor which is greater than one.

hdfs dfs –du –This command shows the space consumed by data without replications.

hdfs dfsadmin –report- This command shows the real disk usage by considering data replication. Therefore, the output of hdfs dfsadmin –report will always be greater than the output of hdfs dfs –du command.

Related questions

0 votes
0 votes
asked Dec 21, 2022 in HDFS by Robin
0 votes
asked Jun 8, 2020 in HDFS by Robindeniel
...