hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Custom WritableByteArrayComparable crashing. Need help please (UNCLASSIFIED)
Date Sat, 12 Jun 2010 16:54:08 GMT
On Fri, Jun 11, 2010 at 10:09 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> Why is List treated differently at line 267 in writeClassCode() ?

Sorry Ted, different to what?


>      if ( List.class.isAssignableFrom(c)) {
>        code = CLASS_TO_CODE.get(List.class);
>      }
> I am wondering if the above logic should be applied to other classes in
> CLASS_TO_CODE.keySet().


Please say more.  I do not follow.

Thanks,
St.Ack


>
> On Fri, Jun 11, 2010 at 11:14 AM, Stack <stack@duboce.net> wrote:
>
>> On Fri, Jun 11, 2010 at 10:55 AM, Todd Lipcon <todd@cloudera.com> wrote:
>> >> One thing to keep in mind is that the server needs to know about the
>> filter
>> >> you are using (it needs to be in a jar in the classpath).  You also may
>> need
>> >> to add it to HbaseObjectWritable.java so it can be sent across the RPC
>> >> layer.
>> >>
>> >>
>> > That should only be an efficiency thing, right?
>> >
>> It should just be efficency but its broke currently in that it has to
>> be in place (I filed HBASE-2666 a little while ago).
>> St.Ack
>>
>

Mime
View raw message