Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC2029735 for ; Sun, 1 Apr 2012 14:16:39 +0000 (UTC) Received: (qmail 71582 invoked by uid 500); 1 Apr 2012 14:16:38 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 71460 invoked by uid 500); 1 Apr 2012 14:16:37 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 71447 invoked by uid 99); 1 Apr 2012 14:16:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2012 14:16:37 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of psdc1978@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2012 14:16:30 +0000 Received: by wgbdq10 with SMTP id dq10so1773212wgb.29 for ; Sun, 01 Apr 2012 07:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CKqn6IgvHi36wnYtfsVdxUc8jSj5UjVNdGANdjYkXqc=; b=CpijwUZU+2Fp4ra+j6Ypsj3W2tOzeHixDUuZ6hbRJ37IntKFnlijOksowH4VQuuFNh 43Z54DmVki/9uWPk/cfPNKPSJviIBdmu1271sze1hZJL3L5Sy6cuLt9WGIOjkP2DaMCE hWHI5YrYyG9g0ZL9PgPJSVF9DcNAx+UyUzHbR53tSnKTY2Fxhvap1cJu3cJPauYIZEL5 dKBgVTlHI3t/Kgw9X2wpESYdg0zPxQBDNsMpbFfNXgQtzQSQZ/OmiGW49sS287q6f6vd 0+24+Xct+glWhn4MCs+5e/8Ag3rrL3WTISf4aiX1IImmJOpZ2DSK7jevC/A6W0Ba43Bb Anvg== Received: by 10.180.104.231 with SMTP id gh7mr15502924wib.10.1333289769607; Sun, 01 Apr 2012 07:16:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.75.132 with HTTP; Sun, 1 Apr 2012 07:15:39 -0700 (PDT) In-Reply-To: References: From: Pedro Costa Date: Sun, 1 Apr 2012 15:15:39 +0100 Message-ID: Subject: Fwd: Read key and values from HDFS To: mapreduce-user Content-Type: multipart/alternative; boundary=f46d044288bc19a1b904bc9eb761 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044288bc19a1b904bc9eb761 Content-Type: text/plain; charset=ISO-8859-1 Does anyone have answered this question? Because I can't find it. ---------- Forwarded message ---------- From: Pedro Costa Date: 30 March 2012 18:19 Subject: Read key and values from HDFS To: mapreduce-user 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, --f46d044288bc19a1b904bc9eb761 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Does anyone have answered this question? Because I can't find it.
---------- Forwarded message ----------
Fro= m: Pedro Costa <psdc1978@gmail.com>
Date: 30 March 2012 18:19
Subject: Read key and values from HDFS
To: = mapreduce-user <mapr= educe-user@hadoop.apache.org>



The ReduceTa= sk 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 th= at can read all different outputformat?


Thanks,

--
Best regards,




--
Best regards,

--f46d044288bc19a1b904bc9eb761--