I know du -sh in common Linux filesystems. But how to do that with HDFS?
du -sh
% of used space on Hadoop cluster sudo -u hdfs hadoop fs –df
sudo -u hdfs hadoop fs –df
Capacity under specific folder: sudo -u hdfs hadoop fs -du -h /user
sudo -u hdfs hadoop fs -du -h /user