@InterfaceAudience.Private public class SimpleRegionNormalizer extends Object implements RegionNormalizer
Constructor and Description |
---|
SimpleRegionNormalizer() |
Modifier and Type | Method and Description |
---|---|
NormalizationPlan |
computePlanForTable(TableName table)
Computes next most "urgent" normalization action on the table.
|
void |
setMasterServices(MasterServices masterServices)
Set the master service.
|
public void setMasterServices(MasterServices masterServices)
setMasterServices
in interface RegionNormalizer
masterServices
- inject instance of MasterServicespublic NormalizationPlan computePlanForTable(TableName table) throws HBaseIOException
computePlanForTable
in interface RegionNormalizer
table
- table to normalizeHBaseIOException