You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/09/30 16:20:03 UTC

[GitHub] [ozone] JacksonYao287 commented on a change in pull request #2685: HDDS-5734. add a command to trigger datanode executing du immediately

JacksonYao287 commented on a change in pull request #2685:
URL: https://github.com/apache/ozone/pull/2685#discussion_r719566823



##########
File path: hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/fs/CachingSpaceUsageSource.java
##########
@@ -45,31 +38,18 @@
   private static final Logger LOG =
       LoggerFactory.getLogger(CachingSpaceUsageSource.class);
 
-  private final ScheduledExecutorService executor;
   private final AtomicLong cachedValue = new AtomicLong();
-  private final Duration refresh;
+  private final Duration refreshInterVal;
   private final SpaceUsageSource source;
   private final SpaceUsagePersistence persistence;
   private boolean running;
-  private ScheduledFuture<?> scheduledFuture;
-
-  public CachingSpaceUsageSource(SpaceUsageCheckParams params) {
-    this(params, createExecutor(params));
-  }
 
   @VisibleForTesting

Review comment:
       sure, will fix this




-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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