use of org.apache.hadoop.hdds.protocol.proto.StorageContainerLocationProtocolProtos.ReplicationManagerReportResponseProto in project ozone by apache.
the class StorageContainerLocationProtocolClientSideTranslatorPB method getReplicationManagerReport.
@Override
public ReplicationManagerReport getReplicationManagerReport() throws IOException {
ReplicationManagerReportRequestProto request = ReplicationManagerReportRequestProto.newBuilder().setTraceID(TracingUtil.exportCurrentSpan()).build();
ReplicationManagerReportResponseProto response = submitRequest(Type.GetReplicationManagerReport, builder -> builder.setReplicationManagerReportRequest(request)).getGetReplicationManagerReportResponse();
return ReplicationManagerReport.fromProtobuf(response.getReport());
}
Aggregations