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 950B7EFBE for ; Fri, 1 Feb 2013 14:01:03 +0000 (UTC) Received: (qmail 32115 invoked by uid 500); 1 Feb 2013 14:00:58 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 31777 invoked by uid 500); 1 Feb 2013 14:00:57 -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 Delivered-To: moderator for user@hadoop.apache.org Received: (qmail 15129 invoked by uid 99); 1 Feb 2013 13:09:04 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anbarasan.m@hcl.com designates 192.8.186.130 as permitted sender) X-IronPort-AV: E=Sophos;i="4.84,579,1355077800"; d="scan'208,217";a="8397319" From: Anbarasan Murthy To: "user@hadoop.apache.org" Date: Fri, 1 Feb 2013 18:37:48 +0530 Subject: SequenceFileOutputFormat - Custom Type Key & Value Thread-Topic: SequenceFileOutputFormat - Custom Type Key & Value Thread-Index: Ac4AfLJAEWvV6lKMQZK341AvxxfuyQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_F9DA76F6FADDA14091BDAB398E4AB32C26692A0230CHNHCLTEVS16H_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_F9DA76F6FADDA14091BDAB398E4AB32C26692A0230CHNHCLTEVS16H_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable By default SequenceFileOutputFormat expects the Input - LongWritable Output - Text I would like to know how to set custom data types for SequenceFileOutputFor= mat. How can I achieve the below configuration with SequenceFileOutputFormat My mapper/reducer output will be Key - Text Value - VectorWritable Thanks, Anbu. ::DISCLAIMER:: ---------------------------------------------------------------------------= ------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and inte= nded for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as informa= tion could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in trans= mission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability = on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the = author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, disse= mination, copying, disclosure, modification, distribution and / or publication of this message without the prior written= consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please= delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses = and other defects. ---------------------------------------------------------------------------= ------------------------------------------------------------------------- --_000_F9DA76F6FADDA14091BDAB398E4AB32C26692A0230CHNHCLTEVS16H_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

By default Seque= nceFileOutputFormat  expects the

I= nput – LongWritable

Output –= Text

 

I would like to know how to set custom data types for SequenceFileO= utputFormat.

 

How can I achieve the below configuration with SequenceFileO= utputFormat

My mapper/reducer output wil= l be

Key - Text

Value – VectorWritable

 

 

Thanks,

Anbu.

 

 =



::DISCLAIMER= ::
---------------------------------------------------------------------= ---------------------------------------------------------------------------= ----

The contents of thi= s e-mail and any attachment(s) are confidential and intended for the named = recipient(s) only.
E-mail transmission is not guaranteed to be secure or= error-free as information could be intercepted, corrupted,
lost, destr= oyed, arrive late or incomplete, or may contain viruses in transmission. Th= e e mail and its contents
(with or without referred errors) shall there= fore not attach any liability on the originator or HCL or its affiliates. <= br>Views or opinions, if any, presented in this email are solely those of t= he author and may not necessarily reflect the
views or opinions of HCL = or its affiliates. Any form of reproduction, dissemination, copying, disclo= sure, modification,
distribution and / or publication of this message w= ithout the prior written consent of authorized representative of
HCL is= strictly prohibited. If you have received this email in error please delet= e it and notify the sender immediately.
Before opening any email and/or= attachments, please check them for viruses and other defects.

-------------------= ---------------------------------------------------------------------------= ------------------------------------------------------

--_000_F9DA76F6FADDA14091BDAB398E4AB32C26692A0230CHNHCLTEVS16H_--