Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 38670 invoked from network); 10 Aug 2008 03:07:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2008 03:07:35 -0000 Received: (qmail 70513 invoked by uid 500); 10 Aug 2008 03:07:34 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 70464 invoked by uid 500); 10 Aug 2008 03:07:34 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 70441 invoked by uid 99); 10 Aug 2008 03:07:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Aug 2008 20:07:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 03:06:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51668234C19E for ; Sat, 9 Aug 2008 20:06:44 -0700 (PDT) Message-ID: <811206857.1218337604332.JavaMail.jira@brutus> Date: Sat, 9 Aug 2008 20:06:44 -0700 (PDT) From: "Andrew Purtell (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-729) client region/metadata cache should have a public method for invalidating entries In-Reply-To: <84496280.1215509854640.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-729: --------------------------------- Attachment: 729.patch Previous patch had linefeed issues that would cause patch to barf. > client region/metadata cache should have a public method for invalidating entries > --------------------------------------------------------------------------------- > > Key: HBASE-729 > URL: https://issues.apache.org/jira/browse/HBASE-729 > Project: Hadoop HBase > Issue Type: Bug > Components: client > Affects Versions: 0.2.1, 0.3.0 > Environment: Linux CentOS 5.1 x86_64 / JDK 1.6 > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Priority: Minor > Fix For: 0.2.1, 0.3.0 > > Attachments: 729.patch > > > While writing a testcase for HBASE-62, I observed that table metadata is cached as part of the region information cached client side. This cached region information (and therefore table metadata) is not directly invalidated by disable/enable table, so to get up to date metadata the client may have to use a scanner over .META. directly using the meta visitor. Ideally other client code -- for example the support for HBASE-62 -- should be able to invalidate entries as necessary, so then the next HTable.getTableDescriptor() would go to meta to return up to date information instead of incorrectly reusing outdated information from the cache. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.