hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley" <o...@yahoo-inc.com>
Subject Re: Redundant (?) lengths in SequenceFile
Date Mon, 19 Jun 2006 18:02:48 GMT

On Jun 19, 2006, at 10:46 AM, Paul Sutter wrote:

> How can I define a comparator that can compare raw binary data? (our 
> keys
> are raw binary data)

Paul,
    Look at what I did for BytesWritable (lines 147-165). You need to 
define a Comparator class and register it with WritableComparable.

-- Owen


Mime
View raw message