Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 D007AEE12 for ; Tue, 5 Mar 2013 15:11:39 +0000 (UTC) Received: (qmail 74496 invoked by uid 500); 5 Mar 2013 15:11:34 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 74306 invoked by uid 500); 5 Mar 2013 15:11:34 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 74290 invoked by uid 99); 5 Mar 2013 15:11:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 15:11:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pig.mixed@gmail.com designates 209.85.219.65 as permitted sender) Received: from [209.85.219.65] (HELO mail-oa0-f65.google.com) (209.85.219.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 15:11:26 +0000 Received: by mail-oa0-f65.google.com with SMTP id k14so4285108oag.8 for ; Tue, 05 Mar 2013 07:11:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=/OjO3P887SrWq4HDVCojupvWPawJPDDmNgrUU90k/sA=; b=nqLQa6U2uWq9rymMpHQGH7nwB9MzaXstDZALh90JI5+a63VDgYVfnVfLfZOadfK2mR 4ws4ARWtDQcoq4hezHLWwy/ZO1qtqPPdcjt4nva78+N7kuFhQhVgyChIBzx5rblRIqwK RExjr+XGr13haC+0FTquLNVKIKpqMGX6UxcpdW2luCkPR3J0W69yqcbmXFoDJsq840aM olOsfQdkVKjNRDUehU9o2SSBtJRXtulSLCYM6sdJqn8quCcQCd8ZSh8S1NtPa6g5jty2 Zj5MbbvWlnEQasQStDBm6kXFWxBjxj9oHGq4IJajGhR3LijEfde7wChLEM7G+H5QpQMG jqUw== MIME-Version: 1.0 X-Received: by 10.182.222.101 with SMTP id ql5mr16712155obc.55.1362496265211; Tue, 05 Mar 2013 07:11:05 -0800 (PST) Received: by 10.182.112.9 with HTTP; Tue, 5 Mar 2013 07:11:05 -0800 (PST) Date: Tue, 5 Mar 2013 07:11:05 -0800 Message-ID: Subject: Transpose From: Mix Nin To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=f46d04462bc4e5555c04d72ee1e7 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04462bc4e5555c04d72ee1e7 Content-Type: text/plain; charset=ISO-8859-1 Hi I have data in a file as follows . There are 3 columns separated by semicolon(;). Each column would have multiple values separated by comma (,). 11,22,33;144,244,344;yny; I need output data in below format. It is like transposing values of each column. 11 144 y 22 244 n 33 344 y Can we write map reduce program to achieve this. Could you help on the code on how to write. Thanks --f46d04462bc4e5555c04d72ee1e7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

I have data in a f= ile as follows . There are 3 columns separated by semicolon(;). Each column= would have multiple values separated by comma (,).=A0

1= 1,22,33;144,244,344;yny;

I need output data in below format. It is l= ike transposing =A0values of each column.

11 144 y
<= div> 22 244 n
33 344 y

Can we write map= reduce program to achieve this. Could you help on the code on how to write= .


Thanks
--f46d04462bc4e5555c04d72ee1e7--