[
https://issues.apache.org/jira/browse/HBASE-12973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311049#comment-14311049
]
Andrew Purtell commented on HBASE-12973:
----------------------------------------
I thought about a deprecation tag on getRegion or something like that but
thought it better to handle it on the issue for the new Region API
> 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
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11
>
> Attachments: HBASE-12973-0.98.patch, HBASE-12973-branch-1.patch,
> HBASE-12973.patch
>
>
> 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)