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 in...@apache.org on 2019/12/19 17:48:59 UTC
[hadoop] branch branch-3.2 updated: HDFS-15062. Add LOG when
sendIBRs failed. Contributed by Fei Hui.
This is an automated email from the ASF dual-hosted git repository.
inigoiri pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new 59cdf18 HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui.
59cdf18 is described below
commit 59cdf18d5a930886f57818022858fa18a1ad555f
Author: Inigo Goiri <in...@apache.org>
AuthorDate: Thu Dec 19 09:42:17 2019 -0800
HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui.
(cherry picked from commit 52d7b745c6d95e799542d6409dac30d0418ce8a8)
---
.../hadoop/hdfs/server/datanode/IncrementalBlockReportManager.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/IncrementalBlockReportManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/IncrementalBlockReportManager.java
index 1779374..0bf75a5 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/IncrementalBlockReportManager.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/IncrementalBlockReportManager.java
@@ -221,6 +221,9 @@ class IncrementalBlockReportManager {
// blocks back onto our queue, but only in the case where we
// didn't put something newer in the meantime.
putMissing(reports);
+ LOG.warn("Failed to call blockReceivedAndDeleted: {}, nnId: {}"
+ + ", duration(ms): {}", Arrays.toString(reports),
+ nnRpcLatencySuffix, monotonicNow() - startTime);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org