Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE39C11A21 for ; Thu, 17 Jul 2014 18:35:56 +0000 (UTC) Received: (qmail 27812 invoked by uid 500); 17 Jul 2014 18:35:54 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 27745 invoked by uid 500); 17 Jul 2014 18:35:54 -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 27734 invoked by uid 99); 17 Jul 2014 18:35:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2014 18:35:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dspivak@cloudera.com designates 209.85.223.173 as permitted sender) Received: from [209.85.223.173] (HELO mail-ie0-f173.google.com) (209.85.223.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2014 18:35:52 +0000 Received: by mail-ie0-f173.google.com with SMTP id tr6so3566324ieb.32 for ; Thu, 17 Jul 2014 11:35:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=xK9OWH606LHX1yUZpEwzt2E82M64VRCEJP/4ZlZckN8=; b=ikl9RuRBmElh5K+zRg5jp8uOXlE5ctJchz+92Di5e0HNyfUQvSn7/XZQupv8MM8foX ACn+Ozg0+jjfd92aOAzkJRnLgQM7b9Yv5dPJLGAVYCU5jO+SMvnC+bHNEFPVMSJp5VOH cmmfhWfehcvyPedDhO68alr1s1eSK3TJ9VMymymGuLP93x6HjQP+qBbyc906pIOfaNuT OSy+tjV9Zs9onkm79+KoAiFiJ3eBmVx4Y/C5ZGFN/P2E0mRjhUe2CHDqJeGXnD6Zs1va GAR2wEMHAwjPMk/DZd7ABlrgm+cHjbxVxgcFoe1w5r+ovywBWAXZbTkeKsZTPjcl5+2G i+ng== X-Gm-Message-State: ALoCoQnNpcafy+aej1yq9hevnsTesxOnA0Y6CZwPUkl07duaAkUDwzC+Y5PlaaCNN5DQ6iFyog6b X-Received: by 10.43.94.73 with SMTP id bx9mr68593icc.17.1405622127534; Thu, 17 Jul 2014 11:35:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.60.98 with HTTP; Thu, 17 Jul 2014 11:34:46 -0700 (PDT) In-Reply-To: References: <0E2C6055-01F6-416E-9D46-BD1C2975F03F@gmail.com> <2971833E-E6DB-4450-9270-5A6CD1598446@gmail.com> From: Dima Spivak Date: Thu, 17 Jul 2014 11:34:46 -0700 Message-ID: Subject: =?UTF-8?Q?Re=3A_RE=EF=BC=9A_RE=EF=BC=9A_re=EF=BC=9A_What=27s_the_exact_procedure_of_?= =?UTF-8?Q?making_a_custom_filter_work=3F?= To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=bcaec5186f2099ba5704fe67e756 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5186f2099ba5704fe67e756 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Aleks' jdiff script is jdiffHBasePublicAPI.sh and can be found in the top-level dev-support folder. On Github: https://github.com/apache/hbase/blob/master/dev-support/jdiffHBasePublicAPI= .sh -Dima On Wed, Jul 16, 2014 at 7:57 PM, Ted Yu wrote: > If I remember correctly, Aleksandr Shulman has a JDiff tool that shows > difference between public APIs of two releases. > There is also spreadsheet showing what changed in 0.96 release. > > I will try to find them. > > Cheers > > > On Wed, Jul 16, 2014 at 7:34 PM, Michael.Calvin <77231541@qq.com> wrote: > > > Yes, It works , thank you very much. > > And I also find out custom filter needs to be serialized and then > > deserialized to work properly. That means I still need to find who > > serialized it and how the parameters =E2=80=8Dserialized.=E2=80=8D=E2= =80=8D > > > > > > I just want to know one more thing: > > Who the Fxxk is responsible for NEVER EVER mentioning this ? > > > > > > ------------------ > > Michael.Calvin.Shi > > > > > > Ted Yu writes: > > > > > > > > > > Please implement this method in YourFilter: > > > > > > public static YourFilter parseFrom(final byte [] pbBytes) throws > > > DeserializationException { > > > > > > You can refer to SingleColumnValueFilter for an example. > > > > > > Cheers > > > =E2=80=8D > --bcaec5186f2099ba5704fe67e756--