You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/03/27 03:59:50 UTC

[GitHub] [hadoop] avijayanhwx commented on a change in pull request #648: HDDS-1340. Add List Containers API for Recon

avijayanhwx 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_r269382028
 
 

 ##########
 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:
   (Minor) Initialize to empty list.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org