Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34605178EF for ; Sat, 7 Feb 2015 21:50:40 +0000 (UTC) Received: (qmail 3469 invoked by uid 500); 7 Feb 2015 21:50:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 3395 invoked by uid 500); 7 Feb 2015 21:50:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 3383 invoked by uid 99); 7 Feb 2015 21:50:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Feb 2015 21:50:34 +0000 Date: Sat, 7 Feb 2015 21:50:34 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12973) RegionCoprocessorEnvironment should provide HRegionInfo directly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310941#comment-14310941 ] Enis Soztutar commented on HBASE-12973: --------------------------------------- +1. > 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)