vivekratnavel commented on a change in pull request #648: HDDS-1340. Add List
Containers API for Recon
URL: https://github.com/apache/hadoop/pull/648#discussion_r269404999
##########
File path:
hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/api/ContainerKeyService.java
##########
@@ -51,6 +51,23 @@
@Inject
private ReconOMMetadataManager omMetadataManager;
+ /**
+ * Return list of container IDs for all the containers
+ *
+ * @return {@link Response}
+ */
+ @GET
+ public Response getContainerIDList() {
+ List<Long> containerIDs;
Review comment:
Initialization is redundant here since the initialized value will never be
used.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]