Class TestAssignmentManagerBase.HangThenRSCrashExecutor
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.HangThenRSCrashExecutor
- All Implemented Interfaces:
TestAssignmentManagerBase.MockRSExecutor
- Enclosing class:
- TestAssignmentManagerBase
protected class TestAssignmentManagerBase.HangThenRSCrashExecutor
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.). We then send in a crash for this
server after a few seconds; crash is supposed to take care of the suspended procedures.
-
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
-
HangThenRSCrashExecutor
protected HangThenRSCrashExecutor()
-
-
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
-