HBASE-23702 hbase.hstore.flusher.count setting to 0 breaks HMaster (#1703)
Co-authored-by: Ctest Signed-off-by: Anoop Sam John <anoop.hbase@gmail.com> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
This commit is contained in:
parent
94f36fdb8e
commit
bab4b1cf8c
|
@ -129,6 +129,11 @@ class MemStoreFlusher implements FlushRequester {
|
|||
this.blockingWaitTime = conf.getInt("hbase.hstore.blockingWaitTime",
|
||||
90000);
|
||||
int handlerCount = conf.getInt("hbase.hstore.flusher.count", 2);
|
||||
if (handlerCount < 1) {
|
||||
LOG.warn("hbase.hstore.flusher.count was configed to {} which is less than 1, corrected to 1",
|
||||
handlerCount);
|
||||
handlerCount = 1;
|
||||
}
|
||||
this.flushHandlers = new FlushHandler[handlerCount];
|
||||
LOG.info("globalMemStoreLimit="
|
||||
+ TraditionalBinaryPrefix
|
||||
|
|
Loading…
Reference in New Issue