shwetayakkali commented on a change in 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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]