I am using hadoop to store files. I want to know the actual file size.
getFileSystem().getContentSummary(new Path(fileName)).getLength();
It returns the compressed file size. I am using default hadoop codec compression.
How can I compute the actual file size?