Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 83371 invoked from network); 16 Dec 2008 16:44:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 16:44:57 -0000 Received: (qmail 71731 invoked by uid 500); 16 Dec 2008 16:45:04 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 71676 invoked by uid 500); 16 Dec 2008 16:45:04 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 71665 invoked by uid 99); 16 Dec 2008 16:45:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 08:45:04 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.30.64] (HELO QMTA07.emeryville.ca.mail.comcast.net) (76.96.30.64) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 16:44:42 +0000 Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id rnom1a0040vp7WLA7skNw0; Tue, 16 Dec 2008 16:44:22 +0000 Received: from [10.0.0.13] ([98.234.104.200]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id rskM1a0034KSHV68RskMxE; Tue, 16 Dec 2008 16:44:21 +0000 Message-Id: <60118D9A-3506-4E99-8C54-66F7B977C707@apache.org> From: Owen O'Malley To: core-user@hadoop.apache.org In-Reply-To: <4947D72F.3060207@chalklabs.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Output.collect uses toString for custom key class. Is it possible to change this? Date: Tue, 16 Dec 2008 08:44:18 -0800 References: <4947D72F.3060207@chalklabs.net> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 16, 2008, at 8:28 AM, David Coe wrote: > Is there a way to output the write() instead? Use SequenceFileOutputFormat. It writes binary files using the write. The reverse is SequenceFileInputFormat, which reads the sequence files using readFields. -- Owen