I think the 'hadoop fs -text' command may just be what you need. It decompresses various formats by itself, and gzip for both Sequence and Text files is included in its feature set.
On Tue, Jul 5, 2011 at 8:54 PM, Pedro Sa Costa <psdc1...@gmail.com> wrote: > > Hi, > > In my hadoop running example, the data ouput is compressed using gzip. I would > like to create a small java program that decompress the output. Can anyone > give an example on how to decompress the output in java using the hadoop API? > > > > -- > Best regards, > > ----------------------- > > -- Harsh J