[
https://issues.apache.org/jira/browse/HDDS-1580?focusedWorklogId=248607&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-248607
]
ASF GitHub Bot logged work on HDDS-1580:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/May/19 04:22
Start Date: 27/May/19 04:22
Worklog Time Spent: 10m
Work Description: shwetayakkali commented on pull request #842:
HDDS-1580.Obtain Handler reference in ContainerScrubber
URL: https://github.com/apache/hadoop/pull/842#discussion_r287642534
##########
File path:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/ContainerScrubber.java
##########
@@ -130,12 +128,13 @@ private void throttleScrubber(TimeStamp startTime) {
private void scrub() {
- Iterator<Container> containerIt = containerSet.getContainerIterator();
+ Iterator<Container> containerIt = controller.getContainerSetIterator();
long count = 0;
while (containerIt.hasNext()) {
TimeStamp startTime = new TimeStamp(System.currentTimeMillis());
Container container = containerIt.next();
+ Handler containerHandler = controller.getHandler(container);
Review comment:
Yes @hanishakoneru it is for later use in the Directory scanner part.
----------------------------------------------------------------
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: 248607)
Time Spent: 1h (was: 50m)
> Obtain Handler reference in ContainerScrubber
> ---------------------------------------------
>
> Key: HDDS-1580
> URL: https://issues.apache.org/jira/browse/HDDS-1580
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Affects Versions: 0.5.0
> Reporter: Shweta
> Assignee: Shweta
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Obtain reference to Handler based on containerType in scrub() in
> ContainerScrubber.java
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]