HDFS-15936.Solve SocketTimeoutException#sendPacket() does not record SocketTimeout exception. (#2836)
Co-authored-by: zhujianghua <zhujianghua@zhujianghuadeMacBook-Pro.local> Reviewed-by: cxorm <lianp964@gmail.com> Reviewed-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
683feaa1d4
commit
6f730fd25c
|
@ -632,6 +632,7 @@ class BlockSender implements java.io.Closeable {
|
||||||
*
|
*
|
||||||
* Reporting of this case is done in DataXceiver#run
|
* Reporting of this case is done in DataXceiver#run
|
||||||
*/
|
*/
|
||||||
|
LOG.warn("Sending packets timed out.", e);
|
||||||
} else {
|
} else {
|
||||||
/* Exception while writing to the client. Connection closure from
|
/* Exception while writing to the client. Connection closure from
|
||||||
* the other end is mostly the case and we do not care much about
|
* the other end is mostly the case and we do not care much about
|
||||||
|
|
Loading…
Reference in New Issue