HBASE-11820 ReplicationSource : Set replication codec class as RPC codec class on a clonned Configuration.
This commit is contained in:
parent
4445b30464
commit
0cb2ab6a76
|
@ -37,6 +37,7 @@ import org.apache.hadoop.fs.FileStatus;
|
||||||
import org.apache.hadoop.fs.FileSystem;
|
import org.apache.hadoop.fs.FileSystem;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.hbase.CellUtil;
|
import org.apache.hadoop.hbase.CellUtil;
|
||||||
|
import org.apache.hadoop.hbase.HBaseConfiguration;
|
||||||
import org.apache.hadoop.hbase.HConstants;
|
import org.apache.hadoop.hbase.HConstants;
|
||||||
import org.apache.hadoop.hbase.KeyValue;
|
import org.apache.hadoop.hbase.KeyValue;
|
||||||
import org.apache.hadoop.hbase.Stoppable;
|
import org.apache.hadoop.hbase.Stoppable;
|
||||||
|
@ -154,7 +155,7 @@ public class ReplicationSource extends Thread
|
||||||
final MetricsSource metrics)
|
final MetricsSource metrics)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
this.stopper = stopper;
|
this.stopper = stopper;
|
||||||
this.conf = conf;
|
this.conf = HBaseConfiguration.create(conf);
|
||||||
decorateConf();
|
decorateConf();
|
||||||
this.replicationQueueSizeCapacity =
|
this.replicationQueueSizeCapacity =
|
||||||
this.conf.getLong("replication.source.size.capacity", 1024*1024*64);
|
this.conf.getLong("replication.source.size.capacity", 1024*1024*64);
|
||||||
|
|
Loading…
Reference in New Issue