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 8B56697C7 for ; Mon, 12 Dec 2011 21:36:02 +0000 (UTC) Received: (qmail 16609 invoked by uid 500); 12 Dec 2011 21:36:02 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 16585 invoked by uid 500); 12 Dec 2011 21:36:02 -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 16577 invoked by uid 99); 12 Dec 2011 21:36:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 21:36:02 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 21:35:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 186A010EF16 for ; Mon, 12 Dec 2011 21:35:31 +0000 (UTC) Date: Mon, 12 Dec 2011 21:35:31 +0000 (UTC) From: "Mikhail Bautin (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1749285910.2829.1323725731101.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <820139008.21657.1319673212155.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4683) Always cache index blocks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167824#comment-13167824 ] Mikhail Bautin commented on HBASE-4683: --------------------------------------- Actually shouldCacheDataOnRead is weird. It is true by default as long as block cache is enabled, unless it is explicitly disabled in cacheConf. So I don't really know if that particular line ever becomes a problem when block cache is enabled. > Always cache index blocks > ------------------------- > > Key: HBASE-4683 > URL: https://issues.apache.org/jira/browse/HBASE-4683 > Project: HBase > Issue Type: New Feature > Reporter: Lars Hofhansl > Assignee: Mikhail Bautin > Priority: Minor > Fix For: 0.94.0 > > Attachments: 4683-v2.txt, 4683.txt > > > This would add a new boolean config option: hfile.block.cache.datablocks > Default would be true. > Setting this to false allows HBase in a mode where only index blocks are cached, which is useful for analytical scenarios where a useful working set of the data cannot be expected to fit into the (aggregate) cache. > This is the equivalent of setting cacheBlocks to false on all scans (including scans on behalf of gets). > I would like to get a general feeling about what folks think about this. > The change itself would be simple. > Update (Mikhail): we probably don't need a new conf option. Instead, we will make index blocks cached by default. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira