HBASE-16237 Blocks for hbase:meta table are not cached in L1 cache (Lars George and Ted Yu)

This commit is contained in:
tedyu 2016-07-18 10:12:52 -07:00
parent 630a1a41df
commit fd8460a4cf
1 changed files with 1 additions and 0 deletions

View File

@ -1759,6 +1759,7 @@ public class HTableDescriptor implements WritableComparable<HTableDescriptor> {
.setScope(HConstants.REPLICATION_SCOPE_LOCAL) .setScope(HConstants.REPLICATION_SCOPE_LOCAL)
// Disable blooms for meta. Needs work. Seems to mess w/ getClosestOrBefore. // Disable blooms for meta. Needs work. Seems to mess w/ getClosestOrBefore.
.setBloomFilterType(BloomType.NONE) .setBloomFilterType(BloomType.NONE)
.setCacheDataInL1(true)
}); });
metaDescriptor.addCoprocessor( metaDescriptor.addCoprocessor(
"org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint", "org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint",