|
how can I see that compression ratio of a file/directory? |
|
You could get it via hadoop mfs -lss_ command. For example in the below output
Actual file size (uncompressed) is 21444535 bytes. Compressed or physical file size is sum of entires of column 3 times 8K. Column 3 shows number of physical blocks of individual chunks of file. So in this case it is (8 + 1398) * 8K |