use of org.apache.hadoop.hdds.protocol.proto.StorageContainerLocationProtocolProtos.ReplicationManagerStatusRequestProto in project ozone by apache.
the class StorageContainerLocationProtocolClientSideTranslatorPB method getReplicationManagerStatus.
@Override
public boolean getReplicationManagerStatus() throws IOException {
ReplicationManagerStatusRequestProto request = ReplicationManagerStatusRequestProto.getDefaultInstance();
ReplicationManagerStatusResponseProto response = submitRequest(Type.GetReplicationManagerStatus, builder -> builder.setSeplicationManagerStatusRequest(request)).getReplicationManagerStatusResponse();
return response.getIsRunning();
}
Aggregations