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 21E3918C89 for ; Mon, 19 Oct 2015 16:15:06 +0000 (UTC) Received: (qmail 96706 invoked by uid 500); 19 Oct 2015 16:15:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95807 invoked by uid 500); 19 Oct 2015 16:15:05 -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 95775 invoked by uid 99); 19 Oct 2015 16:15:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2015 16:15:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0FBCD2C1F69 for ; Mon, 19 Oct 2015 16:15:05 +0000 (UTC) Date: Mon, 19 Oct 2015 16:15:05 +0000 (UTC) From: "Heng Chen (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14643) Avoid Splits from once again opening a closed reader for fetching the first and last key 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-14643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963543#comment-14963543 ] Heng Chen commented on HBASE-14643: ----------------------------------- Yeah, we can do this in HRegion.close(), but i found that there are a lot of usages of {{HRegion.Close}} in project. It will change many places. If we do it outer HRegion.close, it will change little, i made a simple patch, could i upload it ? > Avoid Splits from once again opening a closed reader for fetching the first and last key > ---------------------------------------------------------------------------------------- > > Key: HBASE-14643 > URL: https://issues.apache.org/jira/browse/HBASE-14643 > Project: HBase > Issue Type: Improvement > Affects Versions: 2.0.0 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > > Currently split flow is such that we close the parent region and all its store file readers are also closed. After that inorder to split the reference files we need the first and last keys for which once again open the readers on those store files. This could be costlier operation considering the fact that it has to contact the HDFS for this close and open operation. This JIRA is to see if we can improve this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)