[
https://issues.apache.org/jira/browse/HDDS-1340?focusedWorklogId=219104&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-219104
]
ASF GitHub Bot logged work on HDDS-1340:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Mar/19 03:59
Start Date: 27/Mar/19 03:59
Worklog Time Spent: 10m
Work Description: avijayanhwx commented on pull request #648: HDDS-1340.
Add List Containers API for Recon
URL: https://github.com/apache/hadoop/pull/648#discussion_r269382718
##########
File path:
hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/spi/ContainerDBServiceProvider.java
##########
@@ -66,4 +67,12 @@ Integer getCountForForContainerKeyPrefix(
*/
Map<ContainerKeyPrefix, Integer> getKeyPrefixesForContainer(long containerId)
throws IOException;
+
+ /**
+ * Get a list of all Container IDs.
+ *
+ * @return List of Container IDs.
+ * @throws IOException
+ */
+ List<Long> getContainerIDList() throws IOException;
Review comment:
API can return Set instead of 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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 219104)
Time Spent: 40m (was: 0.5h)
> Add List Containers API for Recon
> ---------------------------------
>
> Key: HDDS-1340
> URL: https://issues.apache.org/jira/browse/HDDS-1340
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Components: Ozone Recon
> Reporter: Vivek Ratnavel Subramanian
> Assignee: Vivek Ratnavel Subramanian
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Recon server should support "/containers" API that lists all the containers
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]