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 9D02411E35 for ; Wed, 16 Jul 2014 08:08:52 +0000 (UTC) Received: (qmail 37264 invoked by uid 500); 16 Jul 2014 08:08:50 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 37198 invoked by uid 500); 16 Jul 2014 08:08:50 -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 37173 invoked by uid 99); 16 Jul 2014 08:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 08:08:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.220.44 as permitted sender) Received: from [209.85.220.44] (HELO mail-pa0-f44.google.com) (209.85.220.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 08:08:44 +0000 Received: by mail-pa0-f44.google.com with SMTP id eu11so869446pac.17 for ; Wed, 16 Jul 2014 01:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=JekwXrNwOc0844e92mg31VNgfN6ExUOZuJjiRZ5lk2Q=; b=ndZlkeUKwG09iHDlqQpvtnrIrkSHbzLDOO+RLe9koCPgHBbPqcMRxes68oy/N9lMmX M22gbxnBAjBpinJTvCxr+jYQO1Pfeyfp/2PayUymTnb3znlHsZI8S77Fkn5/0TCANNfY ieon84kcMVoUTkS5TlAcKE4M/9yPVI2em9hoEnFtt6UOsRocK2oMI2etUcNOkGdxufoo 7ieloG26FfWjham0cCad6kv8lYA8iASc+NPzfeYBgnVQHvZ4l1qNHf2rGg+owmhxxVYR Nr1qZl/osT5Fj3lXe+DjLyT49syWwTJsJ0KgbnlHBr8YAM2tiNmWa4czo2p8Il9MsWij c59g== X-Received: by 10.66.97.6 with SMTP id dw6mr27782222pab.41.1405498104671; Wed, 16 Jul 2014 01:08:24 -0700 (PDT) Received: from [192.168.0.11] (c-24-130-236-83.hsd1.ca.comcast.net. [24.130.236.83]) by mx.google.com with ESMTPSA id eh4sm16172650pbc.79.2014.07.16.01.08.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jul 2014 01:08:21 -0700 (PDT) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <0E2C6055-01F6-416E-9D46-BD1C2975F03F@gmail.com> Cc: user X-Mailer: iPhone Mail (10B146) From: Ted Yu Subject: Re: What's the exact procedure of making a custom filter work? Date: Wed, 16 Jul 2014 01:08:21 -0700 To: "user@hbase.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org FilterBase is abstract. Have you implemented the abstract methods ? On Jul 16, 2014, at 12:49 AM, "Michael.Cavlin" <77231541@qq.com> wrote: > HBase version: hbase-0.98.2-hadoop1, stand-alone mode.=E2=80=8D >=20 >=20 > I extends FilterBase, then writes NOTHING in it, put the jar into lib, run= a scan with it, nothing happens. It keeps going like forever >=20 >=20 > Then I tried edit the Filter.proto and generated new FilterProto.java, com= pile it and put those files into hbase-protocol-0.98.2-hadoop1.jar.=E2=80=8D= > Same. >=20 >=20 > The only way to make it work is by extending an existed filter, but it wor= ks exactly as that one, even after I override it's functions. > ------------------ > Michael.Calvin.Shi