Search

hadoop fs -du

The du command displays aggregate length of files contained in the directory or the length of a file in case its just a file.

The syntax and usage is shown below:

hadoop fs -du hdfs://namenodehost/user/DPhadoop