primaryRSPlacement
private void primaryRSPlacement(int regionCount,
Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> primaryRSMap,
int firstRackSize,
int secondRackSize,
int thirdRackSize)
static final HBaseClassTestRuleprivate static final intorg.junit.rules.TestNameprivate static org.apache.hadoop.hbase.master.RackManagerprivate static List<org.apache.hadoop.hbase.ServerName>private voidcheckDuplicateFN(List<org.apache.hadoop.hbase.ServerName> fnList) private voidcheckDuplicateFN(List<org.apache.hadoop.hbase.ServerName> fnList,
org.apache.hadoop.hbase.ServerName genFN) private voidcheckFNRacks(List<org.apache.hadoop.hbase.ServerName> fnList) private voidcheckFNRacks(List<org.apache.hadoop.hbase.ServerName> fnList,
org.apache.hadoop.hbase.ServerName genFN) private voidcheckNumRegions(int firstRackSize,
int secondRackSize,
int thirdRackSize,
int regionsOnRack1,
int regionsOnRack2,
int regionsOnRack3) private static StringgetRack(int index) private static List<org.apache.hadoop.hbase.ServerName>getServersFromRack(Map<String,Integer> rackToServerCount) private voidprimaryRSPlacement(int regionCount,
Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> primaryRSMap,
int firstRackSize,
int secondRackSize,
int thirdRackSize) private StringprintProportions(int firstRackSize,
int secondRackSize,
int thirdRackSize,
int regionsOnRack1,
int regionsOnRack2,
int regionsOnRack3) private org.apache.hadoop.hbase.util.Triple<Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName>,org.apache.hadoop.hbase.favored.FavoredNodeAssignmentHelper,List<org.apache.hadoop.hbase.client.RegionInfo>> secondaryAndTertiaryRSPlacementHelper(int regionCount,
Map<String,Integer> rackToServerCount) static voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidExceptionExceptionIOExceptionIOExceptionIOExceptionIOExceptionIOExceptionIOException