[ https://issues.apache.org/jira/browse/HDFS-15936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17389760#comment-17389760 ]
JiangHua Zhu commented on HDFS-15936: ------------------------------------- [~weichiu], thank you for your comment and review. > Solve BlockSender#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 > Assignee: JiangHua Zhu > Priority: Minor > Labels: pull-request-available > Fix For: 3.4.0, 3.3.2 > > Time Spent: 2h 20m > Remaining Estimate: 0h > > In BlockSender#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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org