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