Class BaseHBaseRegionBalancer

java.lang.Object
io.datarouter.client.hbase.balancer.BaseHBaseRegionBalancer
All Implemented Interfaces:
Callable<Map<DrRegionInfo<?>,​org.apache.hadoop.hbase.ServerName>>
Direct Known Subclasses:
ConsistentHashBalancer, EntityPartitionBalancer, NoOpBalancer

public abstract class BaseHBaseRegionBalancer
extends Object
implements Callable<Map<DrRegionInfo<?>,​org.apache.hadoop.hbase.ServerName>>
  • Field Details

    • tableName

      protected final String tableName
    • drhServerList

      protected DrServerList drhServerList
    • drhRegionList

      protected DrRegionListFactory.DrRegionList drhRegionList
    • serverByRegion

      protected SortedMap<DrRegionInfo<?>,​org.apache.hadoop.hbase.ServerName> serverByRegion
    • entityPartitioner

      protected io.datarouter.model.key.entity.EntityPartitioner<?> entityPartitioner
  • Constructor Details

    • BaseHBaseRegionBalancer

      protected BaseHBaseRegionBalancer​(String tableName)
  • Method Details