Class TestAssignmentManager
java.lang.Object
org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase
org.apache.hadoop.hbase.master.assignment.TestAssignmentManager
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBaseTestAssignmentManagerBase.CallQueueTooBigOnceRsExecutor, TestAssignmentManagerBase.FaultyRsExecutor, TestAssignmentManagerBase.GoodRsExecutor, TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor, TestAssignmentManagerBase.HangThenRSCrashExecutor, TestAssignmentManagerBase.HangThenRSRestartExecutor, TestAssignmentManagerBase.MockRSExecutor, TestAssignmentManagerBase.MockRSProcedureDispatcher, TestAssignmentManagerBase.NoopRsExecutor, TestAssignmentManagerBase.RandRsExecutor, TestAssignmentManagerBase.ServerNotYetRunningRsExecutor, TestAssignmentManagerBase.SocketTimeoutRsExecutor, TestAssignmentManagerBase.TimeoutThenCallQueueTooBigRsExecutor
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBaseam, assignFailedCount, assignProcMetrics, assignSubmittedCount, closeFailedCount, closeProcMetrics, closeSubmittedCount, executor, master, moveFailedCount, moveProcMetrics, moveSubmittedCount, name, newRsAdded, NREGIONS, NSERVERS, openFailedCount, openProcMetrics, openSubmittedCount, PROC_NTHREADS, regionsToRegionServers, reopenFailedCount, reopenProcMetrics, reopenSubmittedCount, rsDispatcher, unassignFailedCount, unassignProcMetrics, unassignSubmittedCount, util
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprivate voidprivate voidtestAssign(TestAssignmentManagerBase.MockRSExecutor executor, int nRegions) voidvoidvoidIt is possible that when AM send assign meta request to a RS successfully, but RS can not send back any response, which cause master startup hangs forevervoidvoidvoidvoidvoidvoidtestMove()voidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBasebulkSubmit, collectAssignmentManagerMetrics, createAndSubmitAssign, createAssignProcedure, createRegionInfo, createUnassignProcedure, doCrash, doRestart, getAssignMaxAttempts, sendTransitionReport, setUp, setupConfiguration, setUpMeta, submitProcedure, tearDown, waitOnFuture
- 
Field Details- 
CLASS_RULE
- 
LOG
 
- 
- 
Constructor Details- 
TestAssignmentManagerpublic TestAssignmentManager()
 
- 
- 
Method Details- 
testAssignWithGoodExec- Throws:
- Exception
 
- 
testAssignAndCrashBeforeResponse- Throws:
- Exception
 
- 
testUnassignAndCrashBeforeResponse- Throws:
- Exception
 
- 
testAssignSocketTimeout- Throws:
- Exception
 
- 
testAssignQueueFullOnce- Throws:
- Exception
 
- 
testTimeoutThenQueueFull- Throws:
- Exception
 
- 
testAssign- Throws:
- Exception
 
- 
testAssignprivate void testAssign(TestAssignmentManagerBase.MockRSExecutor executor, int nRegions) throws Exception - Throws:
- Exception
 
- 
testAssignAnAssignedRegion- Throws:
- Exception
 
- 
testUnassignAnUnassignedRegion- Throws:
- Exception
 
- 
testAssignMetaAndCrashBeforeResponseIt is possible that when AM send assign meta request to a RS successfully, but RS can not send back any response, which cause master startup hangs forever- Throws:
- Exception
 
- 
assertCloseThenOpen
- 
testMove- Throws:
- Exception
 
- 
testReopen- Throws:
- Exception
 
- 
testLoadRegionFromMetaAfterRegionManuallyAdded- Throws:
- Exception
 
- 
testLoadRegionFromMetaRegionNotInMeta- Throws:
- Exception
 
 
-