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 051EC10804 for ; Thu, 5 Feb 2015 05:16:35 +0000 (UTC) Received: (qmail 14398 invoked by uid 500); 5 Feb 2015 05:16:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 14355 invoked by uid 500); 5 Feb 2015 05:16:34 -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 14343 invoked by uid 99); 5 Feb 2015 05:16:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2015 05:16:34 +0000 Date: Thu, 5 Feb 2015 05:16:34 +0000 (UTC) From: "Lars Hofhansl (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=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)