public class TestAssignmentManagerOnCluster extends 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 |
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 void testRestartMetaRegionServer()
throws Exception
Exceptionpublic void testAssignRegion()
throws Exception
Exceptionpublic void testAssignRegionOnRestartedServer()
throws Exception
Exceptionpublic void testOfflineRegion()
throws Exception
Exceptionpublic void testMoveRegion()
throws Exception
Exceptionpublic void testMoveRegionOfDeletedTable()
throws Exception
Exceptionpublic void testForceAssignWhileClosing()
throws Exception
Exceptionpublic void testCloseFailed()
throws Exception
Exceptionpublic void testOpenFailed()
throws Exception
Exceptionpublic void testOpenFailedUnrecoverable()
throws Exception
Exceptionpublic void testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState()
throws Exception
Exceptionpublic void testCloseHang()
throws Exception
Exceptionpublic void testOpenCloseRacing()
throws Exception
Exceptionpublic void testAssignRacingWithSSH()
throws Exception
Exceptionpublic void testAssignDisabledRegion()
throws Exception
Exceptionpublic void testAssignOfflinedRegionBySSH()
throws Exception
Exceptionpublic void testSSHWaitForServerToAssignRegion()
throws Exception
Exceptionpublic void testAssignDisabledRegionBySSH()
throws Exception
Exceptionpublic void testReportRegionStateTransition()
throws Exception
Exception