You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by su...@apache.org on 2019/09/06 12:47:49 UTC
[hadoop] branch trunk updated: HDFS-13913.
LazyPersistFileScrubber.run() should log meaningful warn message.
Contributed by Daniel Green.
This is an automated email from the ASF dual-hosted git repository.
surendralilhore pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new d98c548 HDFS-13913. LazyPersistFileScrubber.run() should log meaningful warn message. Contributed by Daniel Green.
d98c548 is described below
commit d98c54816d21d59c4d877ae4b1917b22268ffcef
Author: Surendra Singh Lilhore <su...@apache.org>
AuthorDate: Fri Sep 6 18:12:42 2019 +0530
HDFS-13913. LazyPersistFileScrubber.run() should log meaningful warn message. Contributed by Daniel Green.
---
.../java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
index 9d6e99e..c9b0529 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
@@ -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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org