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

Chris Nauroth commented on HDFS-10223:
--------------------------------------

Thank you, Colin.  This is a good catch.  In the test, would you please close 
{{serverSocket}} and {{socket}} in a {{finally}} block, or use 
try-with-resources?

> peerFromSocketAndKey performs SASL exchange before setting connection timeouts
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-10223
>                 URL: https://issues.apache.org/jira/browse/HDFS-10223
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-10223.001.patch
>
>
> {{peerFromSocketAndKey}} performs the SASL exchange before setting up 
> connection timeouts.  Because of this, the timeout used for setting up SASL 
> connections is the default system-wide TCP timeout, which is usually several 
> hours long.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to