-Re: Doubts on compressed file
Niels Basjes 2012-11-07, 12:47
> If a zip file(Gzip) is loaded into HDFS will it get splitted into Blocks and
> store in HDFS?
> I understand that a single mapper can work with GZip as it reads the entire
> file from beginning to end... In that case if the GZip file size is larget
> than 128 MB will it get splitted into blocks and stored in HDFS?
Yes, and then the mapper will read the other parts of the file over the network.
So what I do is I upload such files with a bigger HDFS blocksize so
the mapper has "the entire file" locally.
Best regards / Met vriendelijke groeten,