public class TestServerRemoteProcedure extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
TestServerRemoteProcedure.MockRSExecutor |
protected static class |
TestServerRemoteProcedure.MockRSProcedureDispatcher |
protected static class |
TestServerRemoteProcedure.NoopRSExecutor |
private static class |
TestServerRemoteProcedure.NoopServerRemoteProcedure |
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.master.assignment.AssignmentManager |
am |
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.ExpectedException |
exception |
protected ScheduledExecutorService |
executor |
private static org.slf4j.Logger |
LOG |
protected MockMasterServices |
master |
org.junit.rules.TestName |
name |
protected NavigableMap<org.apache.hadoop.hbase.ServerName,SortedSet<byte[]>> |
regionsToRegionServers |
protected TestServerRemoteProcedure.MockRSProcedureDispatcher |
rsDispatcher |
protected HBaseTestingUtility |
util |
Constructor and Description |
---|
TestServerRemoteProcedure() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
private Future<byte[]> |
submitProcedure(org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> proc) |
void |
tearDown() |
void |
testRegionOpenProcedureIsNotHandledByDispatcher() |
void |
testRemoteCompleteAndFailedAtTheSameTime() |
void |
testSplitWALAndCrashBeforeResponse() |
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public final org.junit.rules.ExpectedException exception
protected HBaseTestingUtility util
protected TestServerRemoteProcedure.MockRSProcedureDispatcher rsDispatcher
protected MockMasterServices master
protected org.apache.hadoop.hbase.master.assignment.AssignmentManager am
protected NavigableMap<org.apache.hadoop.hbase.ServerName,SortedSet<byte[]>> regionsToRegionServers
protected ScheduledExecutorService executor
public TestServerRemoteProcedure()
public void testSplitWALAndCrashBeforeResponse() throws Exception
Exception
public void testRemoteCompleteAndFailedAtTheSameTime() throws Exception
Exception
public void testRegionOpenProcedureIsNotHandledByDispatcher() throws Exception
Exception
private Future<byte[]> submitProcedure(org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> proc)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.