87325/how-to-check-a-hdfs-directory-size
Hi Guys,
I am new to Hadoop. I have created some directories in the cluster. I want to check the size of the directory. how can I do that?
Hi@akhtar,
You can check the size of the Hadoop directory. Hadoop has command in its filesystem that you can use as shown below.
$ hadoop fs -du -s -h /path/to/dir
You can use the hadoop fs -ls command to ...READ MORE
Read operation on HDFS In order to read ...READ MORE
Here's something that you can try... the last ...READ MORE
You can easily upload any file to ...READ MORE
You can use dfsadmin which runs a ...READ MORE
hdfs dfsadmin -report This command tells fs ...READ MORE
du command is used for to see ...READ MORE
Hadoop put & appendToFile only reads standard ...READ MORE
It is the same syntax. Use the ...READ MORE
Hi@akhtar, You can remove the directory using the ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.