Search in sources :

Example 1 with ClosePipelineRequestProto

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));
}
Also used : ClosePipelineRequestProto(org.apache.hadoop.hdds.protocol.proto.StorageContainerLocationProtocolProtos.ClosePipelineRequestProto)

Aggregations

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