Class TestAssignmentManagerBase.HangThenRSRestartExecutor
java.lang.Object
org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.NoopRsExecutor
org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.GoodRsExecutor
org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.HangThenRSRestartExecutor
- All Implemented Interfaces:
TestAssignmentManagerBase.MockRSExecutor
- Enclosing class:
- TestAssignmentManagerBase
protected class TestAssignmentManagerBase.HangThenRSRestartExecutor
extends TestAssignmentManagerBase.GoodRsExecutor
Takes open request and then returns nothing so acts like a RS that went zombie. No response (so
proc is stuck/suspended on the Master and won't wake up.). Different with
HangThenRSCrashExecutor, HangThenRSCrashExecutor will create ServerCrashProcedure to handle the
server crash. However, this HangThenRSRestartExecutor will restart RS directly, situation for
RS crashed when SCP is not enabled.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState
execOpenRegion
(org.apache.hadoop.hbase.ServerName server, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo openReq) Methods inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.GoodRsExecutor
execCloseRegion
Methods inherited from class org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.NoopRsExecutor
sendRequest
-
Field Details
-
invocations
-
-
Constructor Details
-
HangThenRSRestartExecutor
protected HangThenRSRestartExecutor()
-
-
Method Details
-
execOpenRegion
protected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState execOpenRegion(org.apache.hadoop.hbase.ServerName server, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo openReq) throws IOException - Overrides:
execOpenRegion
in classTestAssignmentManagerBase.GoodRsExecutor
- Throws:
IOException
-