From fd8460a4cf5526825af0344da65a84a4db4c80e2 Mon Sep 17 00:00:00 2001 From: tedyu Date: Mon, 18 Jul 2016 10:12:52 -0700 Subject: [PATCH] HBASE-16237 Blocks for hbase:meta table are not cached in L1 cache (Lars George and Ted Yu) --- .../src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java index a29481da408..31a880a7a92 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java @@ -1759,6 +1759,7 @@ public class HTableDescriptor implements WritableComparable { .setScope(HConstants.REPLICATION_SCOPE_LOCAL) // Disable blooms for meta. Needs work. Seems to mess w/ getClosestOrBefore. .setBloomFilterType(BloomType.NONE) + .setCacheDataInL1(true) }); metaDescriptor.addCoprocessor( "org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint",