hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndimi...@apache.org
Subject hbase git commit: HBASE-13821 WARN if hbase.bucketcache.percentage.in.combinedcache is set
Date Tue, 16 Jun 2015 02:31:11 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 e8821d180 -> 55a7a496f


HBASE-13821 WARN if hbase.bucketcache.percentage.in.combinedcache is set


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/55a7a496
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/55a7a496
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/55a7a496

Branch: refs/heads/branch-1
Commit: 55a7a496f65e4f33c9855b048c666838a086ed92
Parents: e8821d1
Author: Nick Dimiduk <ndimiduk@apache.org>
Authored: Mon Jun 15 18:07:40 2015 -0700
Committer: Nick Dimiduk <ndimiduk@apache.org>
Committed: Mon Jun 15 19:25:13 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/55a7a496/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
index 5d221c8..0ed3cbd 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
@@ -546,6 +546,10 @@ public class CacheConfig {
       throw new IllegalStateException("bucketCacheSize <= 0; Check " +
         BUCKET_CACHE_SIZE_KEY + " setting and/or server java heap size");
     }
+    if (c.get("hbase.bucketcache.percentage.in.combinedcache") != null) {
+      LOG.warn("Configuration 'hbase.bucketcache.percentage.in.combinedcache' is no longer
"
+          + "respected. See comments in http://hbase.apache.org/book.html#_changes_of_note");
+    }
     int writerThreads = c.getInt(BUCKET_CACHE_WRITER_THREADS_KEY,
       DEFAULT_BUCKET_CACHE_WRITER_THREADS);
     int writerQueueLen = c.getInt(BUCKET_CACHE_WRITER_QUEUE_KEY,


Mime
View raw message