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 0325E10E7D for ; Thu, 17 Apr 2014 21:07:20 +0000 (UTC) Received: (qmail 65075 invoked by uid 500); 17 Apr 2014 21:07:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 65016 invoked by uid 500); 17 Apr 2014 21:07:16 -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 65003 invoked by uid 99); 17 Apr 2014 21:07:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 21:07:16 +0000 Date: Thu, 17 Apr 2014 21:07:16 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11011) Avoid extra getFileStatus() calls on Region startup 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-11011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-11011: ------------------------------------ Attachment: HBASE-11011-v1.patch > Avoid extra getFileStatus() calls on Region startup > --------------------------------------------------- > > Key: HBASE-11011 > URL: https://issues.apache.org/jira/browse/HBASE-11011 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.96.2, 0.98.1, 1.0.0 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Minor > Fix For: 1.0.0, 0.98.2, 0.96.3 > > Attachments: HBASE-11011-v0.patch, HBASE-11011-v1.patch > > > On load we already have a StoreFileInfo and we create it from the path, > this will result in an extra fs.getFileStatus() call. > In completeCompactionMarker() we do a fs.exists() and later a fs.getFileStatus() > to create the StoreFileInfo, we can avoid the exists. -- This message was sent by Atlassian JIRA (v6.2#6252)