public class TestRegionPlacement2 extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
private static int |
PRIMARY |
private static int |
SECONDARY |
private static int |
SLAVES |
private static int |
TERTIARY |
private static HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestRegionPlacement2() |
Modifier and Type | Method and Description |
---|---|
private 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 |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testFavoredNodesPresentForRandomAssignment() |
void |
testFavoredNodesPresentForRoundRobinAssignment() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil TEST_UTIL
private static final int SLAVES
private static final int PRIMARY
private static final int SECONDARY
private static final int TERTIARY
public org.junit.rules.TestName name
public TestRegionPlacement2()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testFavoredNodesPresentForRoundRobinAssignment() throws IOException
IOException
public void testFavoredNodesPresentForRandomAssignment() throws IOException
IOException
private 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)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.