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 AF892C92A for ; Mon, 28 May 2012 00:47:24 +0000 (UTC) Received: (qmail 28755 invoked by uid 500); 28 May 2012 00:47:23 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 28704 invoked by uid 500); 28 May 2012 00:47:23 -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 28695 invoked by uid 99); 28 May 2012 00:47:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2012 00:47:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 57ED6142857 for ; Mon, 28 May 2012 00:47:23 +0000 (UTC) Date: Mon, 28 May 2012 00:47:23 +0000 (UTC) From: "Zhihong Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <229787723.7557.1338166043362.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1157510545.7330.1338145523289.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6114) CacheControl flags should be tunable per table schema per CF 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-6114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284262#comment-13284262 ] Zhihong Yu commented on HBASE-6114: ----------------------------------- Patch looks good. {code} + * Default setting for whether to cache index data blocks on write if block {code} 'data' should be removed. > CacheControl flags should be tunable per table schema per CF > ------------------------------------------------------------ > > Key: HBASE-6114 > URL: https://issues.apache.org/jira/browse/HBASE-6114 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.92.2, 0.96.0, 0.94.1 > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Attachments: 6114-0.92.patch, 6114-0.94.patch, 6114-trunk.patch > > > CacheControl flags should be tunable per table schema per CF, especially > cacheDataOnWrite, also cacheIndexesOnWrite and cacheBloomsOnWrite. > It looks like Store uses CacheConfig(Configuration conf, HColumnDescriptor family) to construct the CacheConfig, so it's a simple change there to override configuration properties with values of table schema attributes if present. -- 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