public class TestFavoredNodeAssignmentHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestFavoredNodeAssignmentHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setupBeforeClass() |
void |
testConstrainedPlacement() |
void |
testGenMissingFavoredNodeMultiRack() |
void |
testGenMissingFavoredNodeOneRack() |
void |
testGetFavoredNodes() |
void |
testGetOneRandomRack() |
void |
testGetRandomServerMultiRack() |
void |
testGetRandomServerSingleRack() |
void |
testPlacePrimaryRSAsRoundRobin() |
void |
testRoundRobinAssignmentsWithUnevenSizedRacks() |
void |
testSecondaryAndTertiaryPlacementWithLessThanTwoServersInRacks() |
void |
testSecondaryAndTertiaryPlacementWithMoreThanOneServerInPrimaryRack() |
void |
testSecondaryAndTertiaryPlacementWithMultipleRacks() |
void |
testSecondaryAndTertiaryPlacementWithSingleRack() |
void |
testSecondaryAndTertiaryPlacementWithSingleServer() |
void |
testSmallCluster() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestFavoredNodeAssignmentHelper()
public static void setupBeforeClass() throws Exception
Exceptionpublic void testSmallCluster()
public void testPlacePrimaryRSAsRoundRobin()
public void testRoundRobinAssignmentsWithUnevenSizedRacks()
public void testSecondaryAndTertiaryPlacementWithSingleRack()
public void testSecondaryAndTertiaryPlacementWithSingleServer()
public void testSecondaryAndTertiaryPlacementWithMultipleRacks()
public void testSecondaryAndTertiaryPlacementWithLessThanTwoServersInRacks()
public void testSecondaryAndTertiaryPlacementWithMoreThanOneServerInPrimaryRack()
public void testConstrainedPlacement() throws Exception
Exceptionpublic void testGetOneRandomRack() throws IOException
IOExceptionpublic void testGetRandomServerSingleRack() throws IOException
IOExceptionpublic void testGetRandomServerMultiRack() throws IOException
IOExceptionpublic void testGetFavoredNodes() throws IOException
IOExceptionpublic void testGenMissingFavoredNodeOneRack() throws IOException
IOExceptionpublic void testGenMissingFavoredNodeMultiRack() throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.