Skip to content

Commit 59cdf18

Browse files
author
Inigo Goiri
committed
HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui.
(cherry picked from commit 52d7b74)
1 parent 0707d0a commit 59cdf18

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/IncrementalBlockReportManager.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ void sendIBRs(DatanodeProtocol namenode, DatanodeRegistration registration,
221221
// blocks back onto our queue, but only in the case where we
222222
// didn't put something newer in the meantime.
223223
putMissing(reports);
224+
LOG.warn("Failed to call blockReceivedAndDeleted: {}, nnId: {}"
225+
+ ", duration(ms): {}", Arrays.toString(reports),
226+
nnRpcLatencySuffix, monotonicNow() - startTime);
224227
}
225228
}
226229
}

0 commit comments

Comments
 (0)