Package org.apache.hadoop.hbase.master
Class TestRegionPlacement2
java.lang.Object
org.apache.hadoop.hbase.master.TestRegionPlacement2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
org.junit.rules.TestName
private static final int
private static final int
private static final int
private static final int
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate List<org.apache.hadoop.hbase.ServerName>
removeMatchingServers
(Collection<org.apache.hadoop.hbase.ServerName> serversWithoutStartCode, List<org.apache.hadoop.hbase.ServerName> servers) private List<org.apache.hadoop.hbase.ServerName>
removeMatchingServers
(org.apache.hadoop.hbase.ServerName serverWithoutStartCode, List<org.apache.hadoop.hbase.ServerName> servers) static void
static void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
SLAVES
- See Also:
-
PRIMARY
-
SECONDARY
-
TERTIARY
-
name
-
-
Constructor Details
-
TestRegionPlacement2
public TestRegionPlacement2()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testFavoredNodesPresentForRoundRobinAssignment
- Throws:
IOException
-
testFavoredNodesPresentForRandomAssignment
- Throws:
IOException
-
removeMatchingServers
private List<org.apache.hadoop.hbase.ServerName> removeMatchingServers(Collection<org.apache.hadoop.hbase.ServerName> serversWithoutStartCode, List<org.apache.hadoop.hbase.ServerName> servers) -
removeMatchingServers
private List<org.apache.hadoop.hbase.ServerName> removeMatchingServers(org.apache.hadoop.hbase.ServerName serverWithoutStartCode, List<org.apache.hadoop.hbase.ServerName> servers)
-