You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Pedro Costa <ps...@gmail.com> on 2012/04/01 16:15:39 UTC

Fwd: Read key and values from HDFS

Does anyone have answered this question? Because I can't find it.

---------- Forwarded message ----------
From: Pedro Costa <ps...@gmail.com>
Date: 30 March 2012 18:19
Subject: Read key and values from HDFS
To: mapreduce-user <ma...@hadoop.apache.org>



The ReduceTask can save the file using several output format:
InternalFileOutputFormant, SequenceFileOutputFormat, TeraOuputFormat, etc...

How can I read the keys and the values from the output file? Can anyone
give me an example? Is there a way to create just one method that can read
all different outputformat?


Thanks,

-- 
Best regards,




-- 
Best regards,

Re: Read key and values from HDFS

Posted by Harsh J <ha...@cloudera.com>.
Hi,

You can view an archive here: http://search-hadoop.com/m/5ltog03fnd2

On Sun, Apr 1, 2012 at 7:45 PM, Pedro Costa <ps...@gmail.com> wrote:
> Does anyone have answered this question? Because I can't find it.
>
> ---------- Forwarded message ----------
> From: Pedro Costa <ps...@gmail.com>
> Date: 30 March 2012 18:19
> Subject: Read key and values from HDFS
> To: mapreduce-user <ma...@hadoop.apache.org>
>
>
>
> The ReduceTask can save the file using several output format:
> InternalFileOutputFormant, SequenceFileOutputFormat, TeraOuputFormat, etc...
>
> How can I read the keys and the values from the output file? Can anyone give
> me an example? Is there a way to create just one method that can read all
> different outputformat?
>
>
> Thanks,
>
> --
> Best regards,
>
>
>
>
> --
> Best regards,
>



-- 
Harsh J