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 5CAC51184C for ; Fri, 29 Aug 2014 18:27:54 +0000 (UTC) Received: (qmail 45048 invoked by uid 500); 29 Aug 2014 18:27:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 45005 invoked by uid 500); 29 Aug 2014 18:27:54 -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 44991 invoked by uid 99); 29 Aug 2014 18:27:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 18:27:54 +0000 Date: Fri, 29 Aug 2014 18:27:54 +0000 (UTC) From: "Jeffrey Zhong (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11837) Scanner from RegionCoprocessorEnvironment.getTable(TableName) returns no local data 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-11837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffrey Zhong updated HBASE-11837: ---------------------------------- Resolution: Fixed Fix Version/s: 0.98.7 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks [~andrew.purtell@gmail.com] and [~anoop.hbase] for reviews! I've integrated the fix into 0.98 branch and there is no need for trunk branch. > Scanner from RegionCoprocessorEnvironment.getTable(TableName) returns no local data > ----------------------------------------------------------------------------------- > > Key: HBASE-11837 > URL: https://issues.apache.org/jira/browse/HBASE-11837 > Project: HBase > Issue Type: Bug > Components: Coprocessors > Affects Versions: 0.98.4 > Reporter: James Taylor > Assignee: Jeffrey Zhong > Fix For: 0.98.7 > > Attachments: HBASE-11837.patch, PHOENIX-1208-torepro.patch > > > Might be fixed as a byproduct of the fix for HBASE-11766. > Here's what I'm seeing: > - From an endpoint coprocessor on SYSTEM.CATALOG table > - Rows exist in the table, but are all in a single region > - Scan is a new, empty scan created like this: new Scan() > - The following scanner *does* return data: > {code} > RegionScanner scanner = region.getScanner(scan); > {code} > - The following scanner *does not* return any data: > {code} > HTableInterface hTable = env.getTable(region.getTableDesc().getTableName()); > {code} > - The following scanner *does* return data: > {code} > HTablePool pool = new HTablePool (env.getConfiguration(),1); > HTableInterface hTable = pool.getTable("SYSTEM.CATALOG"); > {code} > [~jeffreyz], [~apurtell] -- This message was sent by Atlassian JIRA (v6.2#6252)