@InterfaceAudience.Private public interface ReplicationService
HRegionServer
.
One such application is a cross-datacenter
replication service that can keep two hbase clusters in sync.Modifier and Type | Method and Description |
---|---|
void |
initialize(Server rs,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path logdir,
org.apache.hadoop.fs.Path oldLogDir)
Initializes the replication service object.
|
ReplicationLoad |
refreshAndGetReplicationLoad()
Refresh and Get ReplicationLoad
|
void |
startReplicationService()
Start replication services.
|
void |
stopReplicationService()
Stops replication service.
|
void initialize(Server rs, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path logdir, org.apache.hadoop.fs.Path oldLogDir) throws IOException
IOException
void startReplicationService() throws IOException
IOException
void stopReplicationService()
ReplicationLoad refreshAndGetReplicationLoad()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.