diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/prefetch/SingleFilePerBlockCache.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/prefetch/SingleFilePerBlockCache.java index 8f1fb43920403..a732aff30934e 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/prefetch/SingleFilePerBlockCache.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/prefetch/SingleFilePerBlockCache.java @@ -336,7 +336,7 @@ protected Path getCacheFilePath(final Configuration conf, @Override public void close() throws IOException { if (closed.compareAndSet(false, true)) { - LOG.info(getStats()); + LOG.debug(getStats()); int numFilesDeleted = 0; for (Entry entry : blocks.values()) { @@ -359,9 +359,7 @@ public void close() throws IOException { } } - if (numFilesDeleted > 0) { - LOG.info("Deleted {} cache files", numFilesDeleted); - } + LOG.debug("Prefetch cache close: Deleted {} cache files", numFilesDeleted); } }