[
https://issues.apache.org/jira/browse/HBASE-12973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306651#comment-14306651
]
Lars Hofhansl commented on HBASE-12973:
---------------------------------------
That is a great idea! +1
We can add simply add that as getter to RegionCoprocessorEnvironment.
> RegionCoprocessorEnvironment should provide HRegionInfo directly
> ----------------------------------------------------------------
>
> Key: HBASE-12973
> URL: https://issues.apache.org/jira/browse/HBASE-12973
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Priority: Minor
>
> A coprocessor must go through RegionCoprocessorEnvironment#getRegion in order
> to retrieve HRegionInfo for its associated region. It should be possible to
> get HRegionInfo directly from RegionCoprocessorEnvironment. (Or Region, see
> HBASE-12972)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)