HDFS-13913. LazyPersistFileScrubber.run() should log meaningful warn message. Contributed by Daniel Green.

This commit is contained in:
Surendra Singh Lilhore 2019-09-06 18:12:42 +05:30
parent fa7f03fc56
commit d98c54816d

View File

@ -4244,8 +4244,11 @@ public void run() {
}
}
} catch (Exception e) {
FSNamesystem.LOG.error(
"Ignoring exception in LazyPersistFileScrubber:", e);
FSNamesystem.LOG.warn(
"LazyPersistFileScrubber encountered an exception while "
+ "scanning for lazyPersist files with missing blocks. "
+ "Scanning will retry in " + scrubIntervalSec +
" seconds. Exception: ", e);
}
try {