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 7361A10667 for ; Wed, 26 Feb 2014 15:02:24 +0000 (UTC) Received: (qmail 37248 invoked by uid 500); 26 Feb 2014 15:02:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 37071 invoked by uid 500); 26 Feb 2014 15:02:21 -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 37040 invoked by uid 99); 26 Feb 2014 15:02:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 15:02:20 +0000 Date: Wed, 26 Feb 2014 15:02:20 +0000 (UTC) From: "Nicolas Liochon (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10018) Change the location prefetch 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-10018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13912990#comment-13912990 ] Nicolas Liochon commented on HBASE-10018: ----------------------------------------- v1: - remove the lock - does a small reversed scan instead of a getRowSomething and a scan - deprecates all the prefetch methods, keep the interfaces but the methods do nothing - when we were doing a locate *without* the cache, we were also removing the entry from the cache. We don't do that anymore. > Change the location prefetch > ---------------------------- > > Key: HBASE-10018 > URL: https://issues.apache.org/jira/browse/HBASE-10018 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.0, 0.96.0 > Reporter: Nicolas Liochon > Assignee: Nicolas Liochon > Priority: Minor > Fix For: 0.98.1, 0.99.0 > > Attachments: 10018.v1.patch > > > Issues with prefetching are: > - we do two calls to meta: one for the exact row, one for the prefetch > - it's done in a lock > - we take the next 10 regions. Why 10, why the 10 next? > - is it useful if the table has 100K regions? > Options are: > - just remove it > - replace it with a reverse scan: this would save a call > -- This message was sent by Atlassian JIRA (v6.1.5#6160)