Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 58374 invoked from network); 12 Jun 2010 16:54:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jun 2010 16:54:38 -0000 Received: (qmail 81909 invoked by uid 500); 12 Jun 2010 16:54:37 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 81841 invoked by uid 500); 12 Jun 2010 16:54:36 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 81833 invoked by uid 99); 12 Jun 2010 16:54:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jun 2010 16:54:36 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saint.ack@gmail.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vw0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jun 2010 16:54:30 +0000 Received: by vws8 with SMTP id 8so3239862vws.14 for ; Sat, 12 Jun 2010 09:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=6j6wc884UdWqCW1YzPopfnRlEzRTKGkTUWdyPOVj4bg=; b=Wgv3sl5qZDAcxZ4y7YkM/nosT40C9OYv2zWeSyk4eaMxK3uUJO3oVwE5iwV/s1DqBI m6jF5Kk75tYZpKSbTL6oeSMntEAoQYZ46vPu9Tnn0qVuVmztfawVD6BLNK8AkqgeYvpV gxICKrX9u76lJzUgapCyqnmtaWhJ0rdMOrn3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=gLt0cCTO54BWWTmkII6wvKAendAyRs7xwwRu1ZIwCyuaZzfLkXOHEC+/vLf+37I0T0 Ov2qPfPtcAaN3RGCkgW9OIRh4L6mk5KwwngnF5wcUWf7Xdhkemxlw9aa56qal9lOIlss TyU1Z44Wd7K8vYGqoKk/SWXOTF5YhpqE7dSjY= MIME-Version: 1.0 Received: by 10.224.8.4 with SMTP id f4mr1329019qaf.10.1276361648789; Sat, 12 Jun 2010 09:54:08 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.229.214.68 with HTTP; Sat, 12 Jun 2010 09:54:08 -0700 (PDT) In-Reply-To: References: <45551F2043C2674E8747A6850A58CD94CD9F9E@ADLCAML03.DS.ARL.ARMY.MIL> <8D66B74984F9564BBB25C3C67D630F2D015C61DE76@SC-MBXC1.TheFacebook.com> Date: Sat, 12 Jun 2010 09:54:08 -0700 X-Google-Sender-Auth: Z8asEaVOOejTYV_rqLJ8WSb71Jg Message-ID: Subject: Re: Custom WritableByteArrayComparable crashing. Need help please (UNCLASSIFIED) From: Stack To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Jun 11, 2010 at 10:09 PM, Ted Yu wrote: > Why is List treated differently at line 267 in writeClassCode() ? Sorry Ted, different to what? > =A0 =A0 =A0if ( List.class.isAssignableFrom(c)) { > =A0 =A0 =A0 =A0code =3D CLASS_TO_CODE.get(List.class); > =A0 =A0 =A0} > 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 wrote: > >> On Fri, Jun 11, 2010 at 10:55 AM, Todd Lipcon 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). =A0You also= may >> need >> >> to add it to HbaseObjectWritable.java so it can be sent across the RP= C >> >> 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 >> >