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