Class UnorderedWorkAssigner

  • All Implemented Interfaces:
    WorkAssigner

    public class UnorderedWorkAssigner
    extends DistributedWorkQueueWorkAssigner
    Read work records from the replication table, create work entries for other nodes to complete.

    Uses the DistributedWorkQueue to make the work available for any tserver. This approach does not consider the locality of the tabletserver performing the work in relation to the data being replicated (local HDFS blocks).

    The implementation allows for multiple tservers to concurrently replicate data to peer(s), however it is possible that data for a table is replayed on the peer in a different order than the master. The SequentialWorkAssigner should be used if this must be guaranteed at the cost of replication throughput.