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) { } catch (Exception e) {
FSNamesystem.LOG.error( FSNamesystem.LOG.warn(
"Ignoring exception in LazyPersistFileScrubber:", e); "LazyPersistFileScrubber encountered an exception while "
+ "scanning for lazyPersist files with missing blocks. "
+ "Scanning will retry in " + scrubIntervalSec +
" seconds. Exception: ", e);
} }
try { try {