Search in sources :

Example 1 with CancelPrepareRequest

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();
}
Also used : OMRequest(org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMRequest) CancelPrepareRequest(org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.CancelPrepareRequest)

Aggregations

CancelPrepareRequest (org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.CancelPrepareRequest)1 OMRequest (org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMRequest)1