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 705E3106BA for ; Wed, 5 Jun 2013 22:44:21 +0000 (UTC) Received: (qmail 81515 invoked by uid 500); 5 Jun 2013 22:44:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 81462 invoked by uid 500); 5 Jun 2013 22:44:20 -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 81453 invoked by uid 99); 5 Jun 2013 22:44:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 22:44:20 +0000 Date: Wed, 5 Jun 2013 22:44:20 +0000 (UTC) From: "Jesse Yates (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8684) Table Coprocessor can't access external HTable by default 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-8684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse Yates updated HBASE-8684: ------------------------------- Attachment: hbase-8684-0.94-v4.patch Patch with fix for TestOpenTableInCoprocessor - moving HBaseTestingUtility to just be a field in the test method and closing the HBaseAdmin after its done, rather than trying to close it in @AfterClass (which could help support other tests added here, but let's do that when we need it :) > Table Coprocessor can't access external HTable by default > --------------------------------------------------------- > > Key: HBASE-8684 > URL: https://issues.apache.org/jira/browse/HBASE-8684 > Project: HBase > Issue Type: Bug > Reporter: Jesse Yates > Assignee: Jesse Yates > Fix For: 0.98.0, 0.95.1, 0.94.9 > > Attachments: 8684-trunk.txt, hbase-8684-0.94-v0.patch, hbase-8684-0.94-v1.patch, hbase-8684-0.94-v2.patch, hbase-8684-0.94-v3.patch, hbase-8684-0.94-v4.patch, hbase-8684-trunk-v1.patch > > > With the default configuration passed to a RegionCoprocessor environment, you cannot reach an HTable on the same cluster (at least in 0.94 - no verified yet in 0.96/8). The reason is in the usage of CompoundConfiguration (backported to 0.94 in HBASE-8176) when loading a table coprocessor we just do (RegionCoprocessorHost, ln 182): > {code} > Configuration newConf = new Configuration(conf); > // set per-table cfspec properties > {code} > but the conf we pass in a CompoundConfiguration, which means the copy constructor from Configuration doesn't work at all. > So, we really need two things: > 1. A test that we can reach another HTable in the same cluster via a coprocessor by default > 2. Fixing the configuration creation in RegionCoprocessorHost to support (1) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira