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 F102BD193 for ; Wed, 17 Oct 2012 05:10:05 +0000 (UTC) Received: (qmail 74995 invoked by uid 500); 17 Oct 2012 05:10:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74773 invoked by uid 500); 17 Oct 2012 05:10:04 -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 74472 invoked by uid 99); 17 Oct 2012 05:10:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 05:10:04 +0000 Date: Wed, 17 Oct 2012 05:10:04 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: <397226645.55851.1350450604082.JavaMail.jiratomcat@arcas> In-Reply-To: <1862057653.9777.1337277846876.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-6032) Port HFileBlockIndex improvement from HBASE-5987 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-6032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477612#comment-13477612 ] ramkrishna.s.vasudevan commented on HBASE-6032: ----------------------------------------------- We need this for 0.94 i think as per the changes in HBASE-6577. > Port HFileBlockIndex improvement from HBASE-5987 > ------------------------------------------------ > > Key: HBASE-6032 > URL: https://issues.apache.org/jira/browse/HBASE-6032 > Project: HBase > Issue Type: Task > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.96.0 > > Attachments: 6032-ports-5987.txt, 6032-ports-5987-v2.txt > > > Excerpt from HBASE-5987: > First, we propose to lookahead for one more block index so that the HFileScanner would know the start key value of next data block. So if the target key value for the scan(reSeekTo) is "smaller" than that start kv of next data block, it means the target key value has a very high possibility in the current data block (if not in current data block, then the start kv of next data block should be returned. +Indexing on the start key has some defects here+) and it shall NOT query the HFileBlockIndex in this case. On the contrary, if the target key value is "bigger", then it shall query the HFileBlockIndex. This improvement shall help to reduce the hotness of HFileBlockIndex and avoid some unnecessary IdLock Contention or Index Block Cache lookup. > This JIRA is to port the fix to HBase trunk, etc. -- 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