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));
}
Aggregations