HDFS-14407. Fix misuse of SLF4j logging API in DatasetVolumeChecker#checkAllVolumes. Contributed by Wanqiang Ji.

This commit is contained in:
Akira Ajisaka 2019-04-05 12:29:11 +09:00
parent d2141ef886
commit 67020f0950
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ public class DatasetVolumeChecker {
// Wait until our timeout elapses, after which we give up on // Wait until our timeout elapses, after which we give up on
// the remaining volumes. // the remaining volumes.
if (!latch.await(maxAllowedTimeForCheckMs, TimeUnit.MILLISECONDS)) { if (!latch.await(maxAllowedTimeForCheckMs, TimeUnit.MILLISECONDS)) {
LOG.warn("checkAllVolumes timed out after {} ms" + LOG.warn("checkAllVolumes timed out after {} ms",
maxAllowedTimeForCheckMs); maxAllowedTimeForCheckMs);
} }