Class TestAMServerFailedOpen
java.lang.Object
org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase
org.apache.hadoop.hbase.master.assignment.TestAMServerFailedOpen
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase
TestAssignmentManagerBase.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 Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase
am, 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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
void
void
private void
testFailedOpen
(org.apache.hadoop.hbase.TableName tableName, TestAssignmentManagerBase.MockRSExecutor executor) private void
testRetriesExhaustedFailure
(org.apache.hadoop.hbase.TableName tableName, TestAssignmentManagerBase.MockRSExecutor executor) void
Methods inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase
bulkSubmit, collectAssignmentManagerMetrics, createAndSubmitAssign, createAssignProcedure, createRegionInfo, createUnassignProcedure, doCrash, doRestart, sendTransitionReport, setUp, setupConfiguration, setUpMeta, submitProcedure, tearDown, waitOnFuture
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestAMServerFailedOpen
public TestAMServerFailedOpen()
-
-
Method Details
-
getAssignMaxAttempts
- Overrides:
getAssignMaxAttempts
in classTestAssignmentManagerBase
-
testServerNotYetRunning
- Throws:
Exception
-
testRetriesExhaustedFailure
private void testRetriesExhaustedFailure(org.apache.hadoop.hbase.TableName tableName, TestAssignmentManagerBase.MockRSExecutor executor) throws Exception - Throws:
Exception
-
testDoNotRetryExceptionOnAssignment
- Throws:
Exception
-
testFailedOpen
private void testFailedOpen(org.apache.hadoop.hbase.TableName tableName, TestAssignmentManagerBase.MockRSExecutor executor) throws Exception - Throws:
Exception
-
testCallQueueTooBigExceptionOnAssignment
- Throws:
Exception
-