Interface ReplicaSystem
Deprecated.
Encapsulation of a remote system which Accumulo can replicate data to
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(ServerContext context, String configuration) Deprecated.Configure the implementation with necessary information from the system configurationreplicate
(org.apache.hadoop.fs.Path p, Replication.Status status, ReplicationTarget target, ReplicaSystemHelper helper) Deprecated.Replicate the given status to the target peer
-
Method Details
-
replicate
Replication.Status replicate(org.apache.hadoop.fs.Path p, Replication.Status status, ReplicationTarget target, ReplicaSystemHelper helper) Deprecated.Replicate the given status to the target peer- Parameters:
p
- Path to the resource we're reading fromstatus
- Information to replicatetarget
- The peerhelper
- Instance of ReplicaSystemHelper- Returns:
- A new Status for the progress that was made
-
configure
Deprecated.Configure the implementation with necessary information from the system configurationFor example, we only need one implementation for Accumulo, but, for each peer, we have a ZK quorum and instance name
-