public class TestAssignmentManagerOnCluster
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestAssignmentManagerOnCluster.MyMaster |
static class |
TestAssignmentManagerOnCluster.MyRegionObserver |
static class |
TestAssignmentManagerOnCluster.MyRegionServer |
| Constructor and Description |
|---|
TestAssignmentManagerOnCluster() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAssignDisabledRegion()
Test force unassign/assign a region of a disabled table
|
void |
testAssignDisabledRegionBySSH()
Test disabled region is ignored by SSH
|
void |
testAssignOfflinedRegionBySSH()
Test offlined region is assigned by SSH
|
void |
testAssignRacingWithSSH()
Test force unassign/assign a region hosted on a dead server
|
void |
testAssignRegion()
This tests region assignment
|
void |
testAssignRegionBySSH() |
void |
testAssignRegionOnRestartedServer()
This tests region assignment on a simulated restarted server
|
void |
testCloseFailed()
This tests region close failed
|
void |
testCloseHang()
This tests region close hanging
|
void |
testForceAssignWhileClosing()
This test should not be flaky.
|
void |
testMoveRegion()
This tests moving a region
|
void |
testMoveRegionOfDeletedTable()
If a table is deleted, we should not be able to move it anymore.
|
void |
testOfflineRegion()
This tests offlining a region
|
void |
testOpenCloseRacing()
This tests region close racing with open
|
void |
testOpenFailed()
This tests region open failed
|
void |
testOpenFailedUnrecoverable()
This tests region open failure which is not recoverable
|
void |
testReportRegionStateTransition()
Test that region state transition call is idempotent
|
void |
testRestartMetaRegionServer()
This tests restarting meta regionserver
|
void |
testRetainAssignmentFailed()
This tests retain assignment failed due to no bulkplan
|
void |
testRoundRobinAssignmentFailed()
This tests round-robin assignment failed due to no bulkplan
|
void |
testSSHWaitForServerToAssignRegion()
Test SSH waiting for extra region server for assignment
|
void |
testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState() |
void |
testUpdatesRemoteMeta()
Test concurrent updates to meta when meta is not on master
|
public static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testRestartMetaRegionServer()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssignRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssignRegionBySSH()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssignRegionOnRestartedServer()
throws java.lang.Exception
java.lang.Exceptionpublic void testOfflineRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testMoveRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testMoveRegionOfDeletedTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testForceAssignWhileClosing()
throws java.lang.Exception
java.lang.Exceptionpublic void testCloseFailed()
throws java.lang.Exception
java.lang.Exceptionpublic void testOpenFailed()
throws java.lang.Exception
java.lang.Exceptionpublic void testRoundRobinAssignmentFailed()
throws java.lang.Exception
java.lang.Exceptionpublic void testRetainAssignmentFailed()
throws java.lang.Exception
java.lang.Exceptionpublic void testOpenFailedUnrecoverable()
throws java.lang.Exception
java.lang.Exceptionpublic void testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState()
throws java.lang.Exception
java.lang.Exceptionpublic void testCloseHang()
throws java.lang.Exception
java.lang.Exceptionpublic void testOpenCloseRacing()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssignRacingWithSSH()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssignDisabledRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssignOfflinedRegionBySSH()
throws java.lang.Exception
java.lang.Exceptionpublic void testSSHWaitForServerToAssignRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssignDisabledRegionBySSH()
throws java.lang.Exception
java.lang.Exceptionpublic void testReportRegionStateTransition()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdatesRemoteMeta()
throws java.lang.Exception
java.lang.Exception