use of org.apache.hadoop.ha.proto.HAServiceProtocolProtos.TransitionToStandbyRequestProto in project hadoop by apache.
the class HAServiceProtocolClientSideTranslatorPB method transitionToStandby.
@Override
public void transitionToStandby(StateChangeRequestInfo reqInfo) throws IOException {
try {
TransitionToStandbyRequestProto req = TransitionToStandbyRequestProto.newBuilder().setReqInfo(convert(reqInfo)).build();
rpcProxy.transitionToStandby(NULL_CONTROLLER, req);
} catch (ServiceException e) {
throw ProtobufHelper.getRemoteException(e);
}
}
Aggregations