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,
---
would not a shell program be better suited?
just inquisitive.
On Tue, Jul 5, 2011 at 8:54 PM, Pedro Sa Costa 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
On 07/05/2011 11:24 AM, Pedro Sa Costa 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?
Write a Ja
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 p
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 wrote:
>
> Hi,
>
> In my hadoop running example, the data ouput is