[ https://issues.apache.org/jira/browse/HBASE-6114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-6114: ---------------------------------- Attachment: 6114-0.92-v2.patch 6114-0.94-v2.patch 6114-trunk-v2.patch v2 patches include a unit test that constructs a Store and then does something very similar to io.hfile.TestCacheOnWrite, using Readers and Writers created by the Store. Updated patches are for review because I changed the visibility of Store#createWriterInTmp and HFileBlock#getOnDiskSizeWithHeader, depending on branch. Will commit in a few hours if no comment, as an implicit ack. > 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-v2.patch, 6114-0.92.patch, 6114-0.94-v2.patch, > 6114-0.94.patch, 6114-trunk-v2.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