hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Baldeschwieler <eri...@yahoo-inc.com>
Subject Re: Redundant (?) lengths in SequenceFile
Date Mon, 26 Jun 2006 15:34:44 GMT
Can we turn this around and assume that writables will be given a  
stream and a length when they read?  That would also let us remove  
redundant info...

On Jun 19, 2006, at 11:02 AM, Owen O'Malley wrote:

>
> 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