[
https://issues.apache.org/jira/browse/HDFS-15939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042644#comment-18042644
]
ASF GitHub Bot commented on HDFS-15939:
---------------------------------------
github-actions[bot] closed pull request #2841: HDFS-15939.Solve the problem
that DataXceiverServer#run() does not record SocketTimeout exception.
URL: https://github.com/apache/hadoop/pull/2841
> Solve the problem that DataXceiverServer#run() does not record SocketTimeout
> exception
> --------------------------------------------------------------------------------------
>
> Key: HDFS-15939
> URL: https://issues.apache.org/jira/browse/HDFS-15939
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> In DataXceiverServer#run(), if a SocketTimeout exception occurs, no
> information will be recorded here.
> try {
> ......
> } catch (SocketTimeoutException ignored){
> // wake up to see if should continue to run
> }
> No records are generated here, which is not conducive to troubleshooting.
> We should add some warning type logs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]