Skip to content

Commit

Permalink
addendum
Browse files Browse the repository at this point in the history
  • Loading branch information
virajjasani committed Jun 8, 2023
1 parent 7dd24ba commit 7f48042
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand All @@ -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);
}
}

Expand Down

0 comments on commit 7f48042

Please sign in to comment.