HDFS-13092. Reduce verbosity for ThrottledAsyncChecker#schedule. Contributed by Mukul Kumar Singh.

This commit is contained in:
Hanisha Koneru 2018-01-31 11:05:17 -08:00
parent 37b7536568
commit 3ce2190b58
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,6 @@ public class ThrottledAsyncChecker<K, V> implements AsyncChecker<K, V> {
@Override
public Optional<ListenableFuture<V>> schedule(Checkable<K, V> target,
K context) {
LOG.info("Scheduling a check for {}", target);
if (checksInProgress.containsKey(target)) {
return Optional.absent();
}
@ -135,6 +134,7 @@ public class ThrottledAsyncChecker<K, V> implements AsyncChecker<K, V> {
}
}
LOG.info("Scheduling a check for {}", target);
final ListenableFuture<V> lfWithoutTimeout = executorService.submit(
new Callable<V>() {
@Override