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 2A3F4CAE4 for ; Mon, 5 Aug 2013 23:59:51 +0000 (UTC) Received: (qmail 75277 invoked by uid 500); 5 Aug 2013 23:59:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 75244 invoked by uid 500); 5 Aug 2013 23:59:49 -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 75201 invoked by uid 99); 5 Aug 2013 23:59:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 23:59:49 +0000 Date: Mon, 5 Aug 2013 23:59:49 +0000 (UTC) From: "Dave Latham (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9132) Use table dir modtime to avoid scanning table dir to check cached table descriptor in 0.94 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-9132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Latham updated HBASE-9132: ------------------------------- Summary: Use table dir modtime to avoid scanning table dir to check cached table descriptor in 0.94 (was: Use table dir modtime to avoid scanning table dir to check cached table descriptor) > Use table dir modtime to avoid scanning table dir to check cached table descriptor in 0.94 > ------------------------------------------------------------------------------------------ > > Key: HBASE-9132 > URL: https://issues.apache.org/jira/browse/HBASE-9132 > Project: HBase > Issue Type: Improvement > Reporter: Dave Latham > Assignee: Dave Latham > Fix For: 0.94.12 > > Attachments: HBASE-9132-0.94.patch > > > As described in HBASE-8778, anything that needs to read table descriptors (such as region assignments) currently results in a table directory scan which is slow on tables with many regions. HBASE-8778 moved the table descriptors to a subdir for 0.96+. For 0.94 a smaller change that is safe with rolling restarts is to cache the directory modtime and use the cached table descriptor if the directory modtime has not changed since a table descriptor change always changes the directory. -- 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