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

This commit is contained in:
tedyu 2017-08-15 11:09:55 -07:00
parent fd749ce66e
commit 3ed765257e
1 changed files with 3 additions and 3 deletions

View File

@ -2001,9 +2001,9 @@ public class HMaster extends HRegionServer implements MasterServices, Server {
} }
// 3. blocking file count // 3. blocking file count
String sbfc = htd.getConfigurationValue(HStore.BLOCKING_STOREFILES_KEY); sv = hcd.getConfigurationValue(HStore.BLOCKING_STOREFILES_KEY);
if (sbfc != null) { if (sv != null) {
blockingFileCount = Integer.parseInt(sbfc); blockingFileCount = Integer.parseInt(sv);
} }
if (blockingFileCount < 1000) { if (blockingFileCount < 1000) {
message = message =