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