HDFS-13092. Reduce verbosity for ThrottledAsyncChecker#schedule. Contributed by Mukul Kumar Singh.
This commit is contained in:
parent
37b7536568
commit
3ce2190b58
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue