[ 
https://issues.apache.org/jira/browse/HDDS-1690?focusedWorklogId=262601&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-262601
 ]

ASF GitHub Bot logged work on HDDS-1690:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Jun/19 20:32
            Start Date: 18/Jun/19 20:32
    Worklog Time Spent: 10m 
      Work Description: bharatviswa504 commented on pull request #986: 
[HDDS-1690] ContainerController should provide a way to retrieve cont…
URL: https://github.com/apache/hadoop/pull/986#discussion_r295012141
 
 

 ##########
 File path: 
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerSet.java
 ##########
 @@ -128,6 +128,14 @@ public int containerCount() {
     return containerMap.values().iterator();
   }
 
+  public Iterator<Container> getContainerIteratorForVolume(String volumeUuid) {
 
 Review comment:
   Minor: Add javadoc for this method.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 262601)
    Time Spent: 20m  (was: 10m)

> ContainerController should provide a way to retrieve containers per volume
> --------------------------------------------------------------------------
>
>                 Key: HDDS-1690
>                 URL: https://issues.apache.org/jira/browse/HDDS-1690
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: Ozone Datanode
>    Affects Versions: 0.4.0
>            Reporter: Hrishikesh Gadre
>            Assignee: Hrishikesh Gadre
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Ozone data scrubber needs to start a dedicated thread per volume to perform 
> checksum validation for all the containers in the given volume. But currently 
> ContainerController does not expose an API to fetch the list of containers 
> for a given volume. This Jira is to add the relevant API to 
> ContainerController class so that we can retrieve list of containers for a 
> given HDDS volume.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to