hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11800) Coprocessor service methods in HTableInterface should be annotated public
Date Mon, 25 Aug 2014 20:46:58 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109690#comment-14109690
] 

Hudson commented on HBASE-11800:
--------------------------------

SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #441 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/441/])
HBASE-11800 Make HTableInterface coprocessorService methods public (garyh: rev 9c7973576dffb62a7cd77e628ff83572eaa77d15)
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/coprocessor/Batch.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.java


> 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
>             Fix For: 1.0.0, 0.98.6
>
>         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)

Mime
View raw message