use of org.apache.hadoop.hdds.protocol.proto.StorageContainerLocationProtocolProtos.ClosePipelineRequestProto in project ozone by apache.
the class StorageContainerLocationProtocolClientSideTranslatorPB method closePipeline.
@Override
public void closePipeline(HddsProtos.PipelineID pipelineID) throws IOException {
ClosePipelineRequestProto request = ClosePipelineRequestProto.newBuilder().setTraceID(TracingUtil.exportCurrentSpan()).setPipelineID(pipelineID).build();
submitRequest(Type.ClosePipeline, builder -> builder.setClosePipelineRequest(request));
}
Aggregations