From 9b38da685c2ecd3edcb30dafdc2d86d9a115886e Mon Sep 17 00:00:00 2001 From: Guanghao Zhang Date: Thu, 11 Oct 2018 15:52:59 +0800 Subject: [PATCH] HBASE-21289 Remove the log "'hbase.regionserver.maxlogs' was deprecated." in AbstractFSWAL --- .../apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java index b493fd68b90..f5751041715 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java @@ -408,11 +408,6 @@ public abstract class AbstractFSWAL implements WAL { this.blocksize = WALUtil.getWALBlockSize(this.conf, this.fs, this.walDir); float multiplier = conf.getFloat("hbase.regionserver.logroll.multiplier", 0.5f); this.logrollsize = (long)(this.blocksize * multiplier); - - boolean maxLogsDefined = conf.get("hbase.regionserver.maxlogs") != null; - if (maxLogsDefined) { - LOG.warn("'hbase.regionserver.maxlogs' was deprecated."); - } this.maxLogs = conf.getInt("hbase.regionserver.maxlogs", Math.max(32, calculateMaxLogFiles(conf, logrollsize)));