hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Read bzip2 file
Date Wed, 19 Sep 2012 06:53:17 GMT
Hi Huanchen,

If your files have the .bz2 extension, then using TextInputFormat will
automatically detect them and uncompress when reading.

On Wed, Sep 19, 2012 at 12:01 PM, Huanchen Zhang <iamzhanghc@gmail.com> wrote:
> Hello,
>
> I have bzip2 files as the input of mapper. How to set the configuration and job.setInputFormatClass
for bzip2 files ?
>
> Thank you.
>
> Huanchen
>



-- 
Harsh J

Mime
View raw message