Package org.apache.hadoop.hbase.master
Class TestRegionPlacement2
java.lang.Object
org.apache.hadoop.hbase.master.TestRegionPlacement2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final int
private static final int
private static final int
private static final int
private static final HBaseTestingUtility
-
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
-
LOG
-
TEST_UTIL
-
SLAVES
- See Also:
-
PRIMARY
-
SECONDARY
-
TERTIARY
-
name
-
-
Constructor Details
-
TestRegionPlacement2
public TestRegionPlacement2()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testFavoredNodesPresentForRoundRobinAssignment
public void testFavoredNodesPresentForRoundRobinAssignment() throws org.apache.hadoop.hbase.HBaseIOException- Throws:
org.apache.hadoop.hbase.HBaseIOException
-
testFavoredNodesPresentForRandomAssignment
public void testFavoredNodesPresentForRandomAssignment() throws org.apache.hadoop.hbase.HBaseIOException- Throws:
org.apache.hadoop.hbase.HBaseIOException
-
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)
-