hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <omal...@apache.org>
Subject Re: Output.collect uses toString for custom key class. Is it possible to change this?
Date Tue, 16 Dec 2008 16:44:18 GMT

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

View raw message