Search in sources :

Example 1 with ActivatePipelineRequestProto

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

the class StorageContainerLocationProtocolClientSideTranslatorPB method activatePipeline.

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

Aggregations

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