Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Doubts on compressed file

Copy link to this message
Re: Doubts on compressed file

> 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,

Niels Basjes