Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 78EB0200B48 for ; Mon, 18 Jul 2016 19:16:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 77999160A6D; Mon, 18 Jul 2016 17:16:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BFCE8160A5D for ; Mon, 18 Jul 2016 19:16:58 +0200 (CEST) Received: (qmail 1413 invoked by uid 500); 18 Jul 2016 17:16:57 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 1404 invoked by uid 99); 18 Jul 2016 17:16:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2016 17:16:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B067EDFAF5; Mon, 18 Jul 2016 17:16:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tedyu@apache.org To: commits@hbase.apache.org Message-Id: <4567c8116d3d42b0ad8390d995f713d4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-16237 Blocks for hbase:meta table are not cached in L1 cache (Lars George and Ted Yu) Date: Mon, 18 Jul 2016 17:16:57 +0000 (UTC) archived-at: Mon, 18 Jul 2016 17:16:59 -0000 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 Authored: Mon Jul 18 10:16:48 2016 -0700 Committer: tedyu 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 { .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",