Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 119112E4F for ; Mon, 25 Apr 2011 17:13:42 +0000 (UTC) Received: (qmail 1136 invoked by uid 500); 25 Apr 2011 17:13:42 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 1101 invoked by uid 500); 25 Apr 2011 17:13:41 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 1027 invoked by uid 99); 25 Apr 2011 17:13:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 17:13:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 17:13:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3B276B3D2F for ; Mon, 25 Apr 2011 17:13:03 +0000 (UTC) Date: Mon, 25 Apr 2011 17:13:03 +0000 (UTC) From: "jiraposter@reviews.apache.org (JIRA)" To: issues@hbase.apache.org Message-ID: <1941121419.115.1303751583239.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1673211891.74204.1303414986347.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-3812) Tidy up naming consistency and documentation in coprocessor framework MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024854#comment-13024854 ] jiraposter@reviews.apache.org commented on HBASE-3812: ------------------------------------------------------ ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/660/ ----------------------------------------------------------- Review request for hbase and Gary Helmling. Summary ------- As described at hbase-3812: * rename BaseRegionObserverCoprocessor -> BaseRegionObserver * in BaseMasterObserver, rename ObserverContext parameter variable from "env" to "c" or "ctx" * unnecessary public modifier for methods in RegionObserver interface This addresses bug hbase-3812. https://issues.apache.org/jira/browse/hbase-3812 Diffs ----- src/main/java/org/apache/hadoop/hbase/coprocessor/BaseMasterObserver.java 8df6aa4 src/main/java/org/apache/hadoop/hbase/coprocessor/BaseRegionObserver.java PRE-CREATION src/main/java/org/apache/hadoop/hbase/coprocessor/BaseRegionObserverCoprocessor.java a8c7cb2 src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java 5c5d18d src/test/java/org/apache/hadoop/hbase/coprocessor/SampleRegionWALObserver.java c1fe58d src/test/java/org/apache/hadoop/hbase/coprocessor/SimpleRegionObserver.java e201b3f src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java 0a07e03 src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverStacking.java 20a8d7d src/test/java/org/apache/hadoop/hbase/coprocessor/TestWALCoprocessors.java 27c38f9 src/test/java/org/apache/hadoop/hbase/coprocessor/TestWALObserver.java PRE-CREATION Diff: https://reviews.apache.org/r/660/diff Testing ------- Tests passed locally. Thanks, Mingjie > Tidy up naming consistency and documentation in coprocessor framework > --------------------------------------------------------------------- > > Key: HBASE-3812 > URL: https://issues.apache.org/jira/browse/HBASE-3812 > Project: HBase > Issue Type: Improvement > Components: coprocessors > Reporter: Gary Helmling > Priority: Critical > Fix For: 0.92.0 > > > We have a few naming inconsistencies in the coprocessor API and some stale javadocs that have been spotted by Lars George as he digs through it. We should clean these up before we have an official release and are forced to go through a round of deprecation to make any changes. > Current items on the list: > * rename BaseRegionObserverCoprocessor -> BaseRegionObserver > * in BaseMasterObserver, rename ObserverContext parameter variable from "env" to "c" or "ctx" > * unnecessary public modifier for methods in RegionObserver interface > As part of this, we should take a pass through the javadocs and verify they are up to date with what is currently implemented. > Please tack on other cosmetic changes or inconsistencies as you find them. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira