@InterfaceAudience.Private public class AssignmentVerificationReport extends Object
RegionPlacementMaintainer
to print
information for favored nodesConstructor and Description |
---|
AssignmentVerificationReport() |
Modifier and Type | Method and Description |
---|---|
void |
fillUp(TableName tableName,
SnapshotOfRegionAssignmentFromMeta snapshot,
Map<String,Map<String,Float>> regionLocalityMap) |
void |
fillUpDispersion(TableName tableName,
SnapshotOfRegionAssignmentFromMeta snapshot,
FavoredNodesPlan newPlan)
Use this to project the dispersion scores
|
List<Float> |
getDispersionInformation() |
void |
print(boolean isDetailMode) |
public void fillUp(TableName tableName, SnapshotOfRegionAssignmentFromMeta snapshot, Map<String,Map<String,Float>> regionLocalityMap)
public void fillUpDispersion(TableName tableName, SnapshotOfRegionAssignmentFromMeta snapshot, FavoredNodesPlan newPlan)
tableName
- snapshot
- newPlan
- public List<Float> getDispersionInformation()
public void print(boolean isDetailMode)
Copyright © 2007–2019 Cloudera. All rights reserved.