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 HBaseClassTestRule
private static final int
org.junit.rules.TestName
private static org.apache.hadoop.hbase.master.RackManager
private static List<org.apache.hadoop.hbase.ServerName>
private void
checkDuplicateFN(List<org.apache.hadoop.hbase.ServerName> fnList)
private void
checkDuplicateFN(List<org.apache.hadoop.hbase.ServerName> fnList,
org.apache.hadoop.hbase.ServerName genFN)
private void
checkFNRacks(List<org.apache.hadoop.hbase.ServerName> fnList)
private void
checkFNRacks(List<org.apache.hadoop.hbase.ServerName> fnList,
org.apache.hadoop.hbase.ServerName genFN)
private void
checkNumRegions(int firstRackSize,
int secondRackSize,
int thirdRackSize,
int regionsOnRack1,
int regionsOnRack2,
int regionsOnRack3)
private static String
getRack(int index)
private static List<org.apache.hadoop.hbase.ServerName>
getServersFromRack(Map<String,Integer> rackToServerCount)
private void
primaryRSPlacement(int regionCount,
Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> primaryRSMap,
int firstRackSize,
int secondRackSize,
int thirdRackSize)
private String
printProportions(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 void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Exception
Exception
IOException
IOException
IOException
IOException
IOException
IOException