public class TestAssignmentManager extends TestAssignmentManagerBase
TestAssignmentManagerBase.FaultyRsExecutor, TestAssignmentManagerBase.GoodRsExecutor, TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor, TestAssignmentManagerBase.HangThenRSCrashExecutor, TestAssignmentManagerBase.HangThenRSRestartExecutor, TestAssignmentManagerBase.MockRSExecutor, TestAssignmentManagerBase.MockRSProcedureDispatcher, TestAssignmentManagerBase.NoopRsExecutor, TestAssignmentManagerBase.RandRsExecutor, TestAssignmentManagerBase.ServerNotYetRunningRsExecutor, TestAssignmentManagerBase.SocketTimeoutRsExecutor| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static org.slf4j.Logger | 
LOG  | 
am, assignFailedCount, assignProcMetrics, assignSubmittedCount, exception, executor, master, name, NREGIONS, NSERVERS, regionsToRegionServers, rsDispatcher, unassignFailedCount, unassignProcMetrics, unassignSubmittedCount, UTIL| Constructor and Description | 
|---|
TestAssignmentManager()  | 
bulkSubmit, collectAssignmentManagerMetrics, createRegionInfo, setUp, setupConfiguration, submitProcedure, tearDown, waitOnFutureprivate static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public TestAssignmentManager()
public void testWaitServerReportEventWithNullServer() throws org.apache.hadoop.hbase.exceptions.UnexpectedStateException
org.apache.hadoop.hbase.exceptions.UnexpectedStateExceptionpublic void testAssignWithGoodExec() throws Exception
Exceptionpublic void testAssignAndCrashBeforeResponse() throws Exception
Exceptionpublic void testUnassignAndCrashBeforeResponse() throws Exception
Exceptionpublic void testAssignWithRandExec() throws Exception
Exceptionpublic void testSocketTimeout() throws Exception
Exceptionpublic void testServerNotYetRunning() throws Exception
Exceptionprivate void testRetriesExhaustedFailure(org.apache.hadoop.hbase.TableName tableName, TestAssignmentManagerBase.MockRSExecutor executor) throws Exception
Exceptionpublic void testIOExceptionOnAssignment() throws Exception
Exceptionpublic void testDoNotRetryExceptionOnAssignment() throws Exception
Exceptionprivate void testFailedOpen(org.apache.hadoop.hbase.TableName tableName, TestAssignmentManagerBase.MockRSExecutor executor) throws Exception
Exceptionprivate void testAssign(TestAssignmentManagerBase.MockRSExecutor executor) throws Exception
Exceptionprivate void testAssign(TestAssignmentManagerBase.MockRSExecutor executor, int nregions) throws Exception
Exceptionpublic void testAssignAnAssignedRegion() throws Exception
Exceptionpublic void testUnassignAnUnassignedRegion() throws Exception
Exceptionpublic void testAssignMetaAndCrashBeforeResponse() throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.