Repository: hbase Updated Branches: refs/heads/branch-1.2 a729488ff -> 683c676b6
HBASE-16237 Blocks for hbase:meta table are not cached in L1 cache (Lars George and Ted Yu) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/683c676b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/683c676b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/683c676b Branch: refs/heads/branch-1.2 Commit: 683c676b6b9fbde45d3713a1e4e768806454d900 Parents: a729488 Author: tedyu <[email protected]> Authored: Mon Jul 18 10:16:48 2016 -0700 Committer: tedyu <[email protected]> Committed: Mon Jul 18 10:16:48 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/683c676b/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java ---------------------------------------------------------------------- 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 a6c08c3..b1e62f0 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 @@ -1736,6 +1736,7 @@ public class HTableDescriptor implements WritableComparable<HTableDescriptor> { .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",
