HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui.

This commit is contained in:
Inigo Goiri 2019-12-19 09:42:17 -08:00
parent b86895485d
commit 52d7b745c6
1 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,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);
}
}
}