HBASE-21639 maxHeapUsage value not read properly from config during EntryBuffers initialization
This commit is contained in:
parent
e1b5dd5d91
commit
12dfc8bafd
|
@ -131,8 +131,7 @@ public class RegionReplicaReplicationEndpoint extends HBaseReplicationEndpoint {
|
|||
"hbase.region.replica.replication.writer.threads", 3);
|
||||
controller = new PipelineController();
|
||||
entryBuffers = new EntryBuffers(controller,
|
||||
this.conf.getInt("hbase.region.replica.replication.buffersize",
|
||||
128*1024*1024));
|
||||
this.conf.getLong("hbase.region.replica.replication.buffersize", 128 * 1024 * 1024));
|
||||
|
||||
// use the regular RPC timeout for replica replication RPC's
|
||||
this.operationTimeout = conf.getInt(HConstants.HBASE_CLIENT_OPERATION_TIMEOUT,
|
||||
|
|
|
@ -166,7 +166,7 @@ public class WALSplitter {
|
|||
this.splitWriterCreationBounded = conf.getBoolean(SPLIT_WRITER_CREATION_BOUNDED, false);
|
||||
|
||||
entryBuffers = new EntryBuffers(controller,
|
||||
this.conf.getInt("hbase.regionserver.hlog.splitlog.buffersize", 128 * 1024 * 1024),
|
||||
this.conf.getLong("hbase.regionserver.hlog.splitlog.buffersize", 128 * 1024 * 1024),
|
||||
splitWriterCreationBounded);
|
||||
|
||||
int numWriterThreads = this.conf.getInt("hbase.regionserver.hlog.splitlog.writer.threads", 3);
|
||||
|
|
Loading…
Reference in New Issue