use of org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.CancelPrepareRequest in project ozone by apache.
the class OzoneManagerProtocolClientSideTranslatorPB method cancelOzoneManagerPrepare.
@Override
public CancelPrepareResponse cancelOzoneManagerPrepare() throws IOException {
CancelPrepareRequest cancelPrepareRequest = CancelPrepareRequest.newBuilder().build();
OMRequest omRequest = createOMRequest(Type.CancelPrepare).setCancelPrepareRequest(cancelPrepareRequest).build();
return handleError(submitRequest(omRequest)).getCancelPrepareResponse();
}
Aggregations