hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12973) RegionCoprocessorEnvironment should provide HRegionInfo directly
Date Sun, 08 Feb 2015 01:14:34 GMT

    [ 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)

Mime
View raw message