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:57 UTC
[hadoop] branch branch-3.0 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.0
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 0b75c52 HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui.
0b75c52 is described below
commit 0b75c5238b468e0a486a7b7b0d3cf9fc74bc7b22
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