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 6598BD7EF for ; Mon, 18 Feb 2013 04:15:52 +0000 (UTC) Received: (qmail 80912 invoked by uid 500); 18 Feb 2013 04:15:50 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 80541 invoked by uid 500); 18 Feb 2013 04:15:49 -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 80511 invoked by uid 99); 18 Feb 2013 04:15:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 04:15:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anoopsj@huawei.com designates 119.145.14.65 as permitted sender) Received: from [119.145.14.65] (HELO szxga02-in.huawei.com) (119.145.14.65) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 04:15:42 +0000 Received: from 172.24.2.119 (EHLO szxeml212-edg.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.4-GA FastPath queued) with ESMTP id AXG96085; Mon, 18 Feb 2013 12:15:15 +0800 (CST) Received: from SZXEML416-HUB.china.huawei.com (10.82.67.155) by szxeml212-edg.china.huawei.com (172.24.2.181) with Microsoft SMTP Server (TLS) id 14.1.323.7; Mon, 18 Feb 2013 12:15:14 +0800 Received: from SZXEML553-MBS.china.huawei.com ([169.254.6.181]) by szxeml416-hub.china.huawei.com ([10.82.67.155]) with mapi id 14.01.0323.007; Mon, 18 Feb 2013 12:15:11 +0800 From: Anoop Sam John To: "user@hbase.apache.org" , "cdh-user@cloudera.org" Subject: RE: Co-Processor in scanning the HBase's Table Thread-Topic: Co-Processor in scanning the HBase's Table Thread-Index: AQHODT/YK8giW/lmwkiU16jtFQ2XlZh/Ah72 Date: Mon, 18 Feb 2013 04:15:10 +0000 Message-ID: <0CE69E9126D0344088798A3B7F7F80863AECDEEF@szxeml553-mbs.china.huawei.com> References: In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.18.96.95] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org >I wanna use a custom code after scanning a large table and prefer to run the code after scanning each region Exactly at what point you want to run your custom code? We have hooks at p= oints like opening a scanner at a region, closing scanner at a region, call= ing next (pre/post) etc -Anoop- ________________________________________ From: Farrokh Shahriari [mohandes.zebeleh.67@gmail.com] Sent: Monday, February 18, 2013 12:21 AM To: cdh-user@cloudera.org; user@hbase.apache.org Subject: Co-Processor in scanning the HBase's Table Hi there I wanna use a custom code after scanning a large table and prefer to run the code after scanning each region.I know that I should use co-processor,but don't know which of Observer,Endpoint or both of them I should use ? Is there any simple example of them ? Tnx=