hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-18526 FIFOCompactionPolicy pre-check uses wrong scope (Vladimir Rodionov)
Date Tue, 15 Aug 2017 18:10:03 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 fd749ce66 -> 3ed765257


HBASE-18526 FIFOCompactionPolicy pre-check uses wrong scope (Vladimir Rodionov)


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

Branch: refs/heads/branch-1
Commit: 3ed765257e555ddead9595d350fd3ad7bc355b29
Parents: fd749ce
Author: tedyu <yuzhihong@gmail.com>
Authored: Tue Aug 15 11:09:55 2017 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Tue Aug 15 11:09:55 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/master/HMaster.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3ed76525/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index 5b1aed6..bb9fcf3 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -2001,9 +2001,9 @@ public class HMaster extends HRegionServer implements MasterServices,
Server {
       }
 
       // 3. blocking file count
-      String sbfc = htd.getConfigurationValue(HStore.BLOCKING_STOREFILES_KEY);
-      if (sbfc != null) {
-        blockingFileCount = Integer.parseInt(sbfc);
+      sv = hcd.getConfigurationValue(HStore.BLOCKING_STOREFILES_KEY);
+      if (sv != null) {
+        blockingFileCount = Integer.parseInt(sv);
       }
       if (blockingFileCount < 1000) {
         message =


Mime
View raw message