Search in sources :

Example 1 with DeactivatePipelineRequestProto

use of org.apache.hadoop.hdds.protocol.proto.StorageContainerLocationProtocolProtos.DeactivatePipelineRequestProto in project ozone by apache.

the class StorageContainerLocationProtocolClientSideTranslatorPB method deactivatePipeline.

@Override
public void deactivatePipeline(HddsProtos.PipelineID pipelineID) throws IOException {
    DeactivatePipelineRequestProto request = DeactivatePipelineRequestProto.newBuilder().setTraceID(TracingUtil.exportCurrentSpan()).setPipelineID(pipelineID).build();
    submitRequest(Type.DeactivatePipeline, builder -> builder.setDeactivatePipelineRequest(request));
}
Also used : DeactivatePipelineRequestProto(org.apache.hadoop.hdds.protocol.proto.StorageContainerLocationProtocolProtos.DeactivatePipelineRequestProto)

Aggregations

DeactivatePipelineRequestProto (org.apache.hadoop.hdds.protocol.proto.StorageContainerLocationProtocolProtos.DeactivatePipelineRequestProto)1