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 1D61811B4A for ; Sat, 23 Aug 2014 17:32:13 +0000 (UTC) Received: (qmail 70847 invoked by uid 500); 23 Aug 2014 17:32:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70806 invoked by uid 500); 23 Aug 2014 17:32:11 -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 70705 invoked by uid 99); 23 Aug 2014 17:32:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 17:32:11 +0000 Date: Sat, 23 Aug 2014 17:32:11 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11800) Coprocessor service methods in HTableInterface should be annotated public 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-11800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108066#comment-14108066 ] Andrew Purtell commented on HBASE-11800: ---------------------------------------- No problem to commit to 0.98 also > Coprocessor service methods in HTableInterface should be annotated public > ------------------------------------------------------------------------- > > Key: HBASE-11800 > URL: https://issues.apache.org/jira/browse/HBASE-11800 > Project: HBase > Issue Type: Task > Components: Client > Affects Versions: 0.98.0, 0.96.0 > Reporter: Gary Helmling > Assignee: Gary Helmling > Attachments: HBASE-11800.patch, HBASE-11800_2.patch > > > The {{HTableInterface.coprocessorService(...)}} and {{HTableInterface.batchCoprocessorService(...)}} methods were made private in HBASE-9529, when the coprocessor APIs were seen as unstable and evolving. > However, these methods represent a standard way for clients to use custom APIs exposed via coprocessors. In that sense, they are targeted at general HBase users (who may run but not develop coprocessors), as opposed to coprocessor developers who want to extend HBase. > The coprocessor endpoint API has also remained much more stable than the coprocessor Observer interfaces, which tend to change along with HBase internals. So there should not be much difficulty in supporting these methods as part of the public API. > I think we should drop the {{@InterfaceAudience.Private}} annotation on these methods and support them as part of the public {{HTableInterface}}. -- This message was sent by Atlassian JIRA (v6.2#6252)