private final class RSProcedureDispatcher.OpenRegionRemoteCall extends RSProcedureDispatcher.AbstractRSRemoteCall
CompatRemoteProcedureResolver
to open regions using old
AdminService#openRegion(RpcController, OpenRegionRequest, RpcCallback)
rpc.Modifier and Type | Field and Description |
---|---|
private List<RSProcedureDispatcher.RegionOpenOperation> |
operations |
Constructor and Description |
---|
OpenRegionRemoteCall(ServerName serverName,
List<RSProcedureDispatcher.RegionOpenOperation> operations) |
Modifier and Type | Method and Description |
---|---|
private void |
remoteCallCompleted(MasterProcedureEnv env,
org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse response) |
private void |
remoteCallFailed(MasterProcedureEnv env,
IOException e) |
void |
run() |
private org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse |
sendRequest(ServerName serverName,
org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest request) |
getRsAdmin, getServerName, scheduleForRetry, unwrapException
private final List<RSProcedureDispatcher.RegionOpenOperation> operations
public OpenRegionRemoteCall(ServerName serverName, List<RSProcedureDispatcher.RegionOpenOperation> operations)
public void run()
private org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse sendRequest(ServerName serverName, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest request) throws IOException
IOException
private void remoteCallCompleted(MasterProcedureEnv env, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse response)
private void remoteCallFailed(MasterProcedureEnv env, IOException e)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.