HDFS-13913. LazyPersistFileScrubber.run() should log meaningful warn message. Contributed by Daniel Green.
This commit is contained in:
parent
fa7f03fc56
commit
d98c54816d
|
@ -4244,8 +4244,11 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|||
}
|
||||
}
|
||||
} 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 {
|
||||
|
|
Loading…
Reference in New Issue