HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui.
This commit is contained in:
parent
b86895485d
commit
52d7b745c6
@ -222,6 +222,9 @@ void sendIBRs(DatanodeProtocol namenode, DatanodeRegistration registration,
|
|||||||
// blocks back onto our queue, but only in the case where we
|
// blocks back onto our queue, but only in the case where we
|
||||||
// didn't put something newer in the meantime.
|
// didn't put something newer in the meantime.
|
||||||
putMissing(reports);
|
putMissing(reports);
|
||||||
|
LOG.warn("Failed to call blockReceivedAndDeleted: {}, nnId: {}"
|
||||||
|
+ ", duration(ms): {}", Arrays.toString(reports),
|
||||||
|
nnRpcLatencySuffix, monotonicNow() - startTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user