[
https://issues.apache.org/jira/browse/HDFS-9572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-9572:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
I have committed this to trunk, branch-2 and branch-2.8. Arpit, thank you for
the code review.
> Prevent DataNode log spam if a client connects on the data transfer port but
> sends no data.
> -------------------------------------------------------------------------------------------
>
> Key: HDFS-9572
> URL: https://issues.apache.org/jira/browse/HDFS-9572
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Fix For: 2.8.0
>
> Attachments: HDFS-9572.001.patch
>
>
> Monitoring tools may choose to check liveness of the DataNode's data transfer
> port by connecting to it. The monitoring tool will close the connection
> immediately after establishment without sending any data. When this happens,
> the DataNode encounters an unexpected EOF and logs a full stack trace. This
> creates unneeded noise in the logs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)