I know du -sh in common Linux filesystems. But how to do that with HDFS?
du -sh
hadoop fs -du -s -h /path/to/dir displays a directory's size in readable form.
hadoop fs -du -s -h /path/to/dir