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 55F4C188F5 for ; Mon, 3 Aug 2015 21:52:03 +0000 (UTC) Received: (qmail 9483 invoked by uid 500); 3 Aug 2015 21:52:01 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 9416 invoked by uid 500); 3 Aug 2015 21:52:01 -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 9404 invoked by uid 99); 3 Aug 2015 21:52:01 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 21:52:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C0B861A94C3 for ; Mon, 3 Aug 2015 21:52:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.001 X-Spam-Level: **** X-Spam-Status: No, score=4.001 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id pbM_y1eBgJJz for ; Mon, 3 Aug 2015 21:51:48 +0000 (UTC) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 946D8334EF for ; Mon, 3 Aug 2015 21:51:47 +0000 (UTC) Received: by pasy3 with SMTP id y3so23468509pas.2 for ; Mon, 03 Aug 2015 14:51:01 -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=KuiIP4uLRKV0Hm4KWfipzh5gbTDiohbUQLSNOfGi5nU=; b=fZ45i0fVkcf9UosO5rsK/P7yYB97JG1BZToEBTQRmF45W9XVqPKCNogiliixSaYf+j KP3E88gkoZ3H/Xa+wnJruHK6daEzOcv5yBpUcqKEKLHaA3fQ1r5QCYbzVhNlFUFIGOj0 StRKYhHmMkGoUJGkTVdgGe2MfDEVga9gIIzFlbANfcu9CmkGxmOwG9M/xGGFtKkhWJco ZZtpS+OjfzGVSIRZO7nJBR1MS+SViNvkq18QE3PM9xfW/3Pqd3uE/qNi9E2IxX4Qws/a 21p8pxOFhF93ohmFIJY44Ys/tWqlmOYblWP4jcdG0dsUQK/Qi12HQCRT3GCJZkWQXFum sUVw== X-Gm-Message-State: ALoCoQnwOqoK69yWX9/cyZepiG6fRmXyeiQU9aMaANREANswP36LA/KgXEWunE8pxqO8ajnHw+Wy X-Received: by 10.66.142.199 with SMTP id ry7mr517545pab.14.1438638661305; Mon, 03 Aug 2015 14:51:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.90.12 with HTTP; Mon, 3 Aug 2015 14:50:41 -0700 (PDT) In-Reply-To: <1438235949.31783.YahooMailBasic@web162703.mail.bf1.yahoo.com> References: <1438235949.31783.YahooMailBasic@web162703.mail.bf1.yahoo.com> From: Jean-Marc Spaggiari Date: Mon, 3 Aug 2015 17:50:41 -0400 Message-ID: Subject: Re: RegionServerObserver preMerge()/postMerge() methods are not getting invoked.. To: user Content-Type: multipart/alternative; boundary=001a11c3d96c5e133b051c6f2a38 --001a11c3d96c5e133b051c6f2a38 Content-Type: text/plain; charset=UTF-8 Hi Mrudula, are you sure your coprocessor is correctly loaded? I can see that in the 0.98.8 code: http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hbase/hbase-server/0.98.8-hadoop2/org/apache/hadoop/hbase/regionserver/RegionMergeTransaction.java#283 Where the pre-merge code is called. It should work... JM 2015-07-30 1:59 GMT-04:00 Mrudula Madiraju < mrudulamadiraju@yahoo.com.invalid>: > Hi, > > I have a custom coprocessor associated with a table. This coprocessor > extends from BaseRegionServerObserver. > I can see that it is loaded, and flow goes to the constructor, start() and > stop() methods. > > When I invoke merge_region on the hbase shell on two regions of the table. > I can see the merge happens and new region gets created via hbase console > ui. > > However it just does not call preMerge() and postMerge() methods of my > coprocessor. > > I am using HBase 0.98.8 version. The method signatures are all right. > > Is there any known problem - I couldn't find anything in the archives or > net or am I missing anything? Please help. > > Regards, > Mrudula > > --001a11c3d96c5e133b051c6f2a38--