first of ll, I would like to create a java program and not using shell commands.
But your question brings me another one. If java already contains classes to compress data, why hadoop mapreduce created their own class like ./org/apache/hadoop/io/compress/GzipCodec.java? > would not a shell program be better suited? > just inquisitive. > > 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, > > > > ----------------------- -- Best regards, -----------------------