How to find the size of a HDFS file? What command should be used to find the size of any file in HDFS.
If you want to do it through the API, you can use 'getFileStatus()' method.