[ 
https://issues.apache.org/jira/browse/HDFS-9572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062533#comment-15062533
 ] 

Arpit Agarwal commented on HDFS-9572:
-------------------------------------

+1 for the patch, pending Jenkins.

I also verified this manually with telnet. Nothing is logged at the default 
INFO level when the DN gets an unexpected EOFException.

> 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
>         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)

Reply via email to