[ 
https://issues.apache.org/jira/browse/HDFS-15936?focusedWorklogId=630966&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-630966
 ]

ASF GitHub Bot logged work on HDFS-15936:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jul/21 03:01
            Start Date: 29/Jul/21 03:01
    Worklog Time Spent: 10m 
      Work Description: jianghuazhu commented on pull request #2836:
URL: https://github.com/apache/hadoop/pull/2836#issuecomment-888762016


   @cxorm , thank you very much for your work. Can this pr be merged into the 
trunk branch? If there is still a lack of other work, I am willing to 
contribute.
   thank you very much.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 630966)
    Time Spent: 2h  (was: 1h 50m)

> 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
>          Time Spent: 2h
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to