You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2021/03/30 06:22:00 UTC
[jira] [Created] (HDFS-15936) Solve
SocketTimeoutException#sendPacket() does not record SocketTimeout exception
JiangHua Zhu created HDFS-15936:
-----------------------------------
Summary: Solve SocketTimeoutException#sendPacket() does not record SocketTimeout exception
Key: HDFS-15936
URL: https://issues.apache.org/jira/browse/HDFS-15936
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: JiangHua Zhu
In SocketTimeoutException#sendPacket(), if a SocketTimeout exception occurs, no information is recorded here.
try {
......
} catch (IOException e) {
if (e instanceof SocketTimeoutException) {
/*
* writing to client timed out. This happens if the client reads
* part of a block and then decides not to read the rest (but leaves
* the socket open).
*
* Reporting of this case is done in DataXceiver#run
*/
}
}
No records are generated here, which is not conducive to troubleshooting.
We should add a line of warning type log.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org