public class TestRegionPlacement2 extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
PRIMARY |
private static int |
SECONDARY |
private static int |
SLAVES |
private static int |
TERTIARY |
private static HBaseTestingUtility |
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 org.slf4j.Logger LOG
private static final HBaseTestingUtility 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 org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOException
public void testFavoredNodesPresentForRandomAssignment() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOException
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–2019 The Apache Software Foundation. All rights reserved.