[
https://issues.apache.org/jira/browse/HBASE-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Purtell resolved HBASE-4426.
-----------------------------------
Resolution: Implemented
Marking as implemented because we added table mgmt methods to MasterServices
for coprocessors.
> Provide an internal HBaseAdmin-like API for coprocessors to use
> ---------------------------------------------------------------
>
> Key: HBASE-4426
> URL: https://issues.apache.org/jira/browse/HBASE-4426
> Project: HBase
> Issue Type: Improvement
> Components: Coprocessors
> Reporter: Gary Helmling
>
> Currently the coprocessor framework provides implementations with access to
> wrapped HTable instances for reading and writing data. This gives us a
> stable public interface to expose to coprocessor implementations, while
> giving us some control over how the operations are implemented in a
> coprocessor environment.
> We don't yet provide any equivalent access for HBaseAdmin operations, which
> means that coprocessors either have to instantiate a full HBaseAdmin instance
> internally, and go through a full RPC loop for operations even when running
> on HMaster, or else are limited to what is made available through
> MasterServices. We should expose an equivalent wrapped HBaseAdmin interface,
> at least to MasterObserver implementations, which would give us a stable
> public API for the operations and eliminate any need for using full RPC
> clients internally.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)