How to find the size of a HDFS file? What command should be used to find the size of any file in HDFS.
hdfs dfs -du -s -h /directory
This is the human readable version, otherwise it will give in bad units (slight bigger)