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

Daryn Sharp commented on HADOOP-8980:
-------------------------------------

You are correct that close will flush the data, but that's on the server side.  
I believe the problem is the client is attempting to write the connection 
context after the server has closed the connection.  I don't think this problem 
is unique to windows so much as it's a thread scheduling race that windows is 
more likely to encounter.  Everything is ok if the client writes the connection 
header and context prior to the server processing the header and closing the 
connection.  On windows, a context switch appears to be more likely between the 
client writing the header and context.

> TestRPC and TestSaslRPC fail on Windows
> ---------------------------------------
>
>                 Key: HADOOP-8980
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8980
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>
> This failure may indicate a difference in socket handling on Windows.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to