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

Raghu Angadi commented on HADOOP-5116:
--------------------------------------


hmm... did you try strace (or its AIX equivalent) on the busy thread? On Linux, 
I find the pid of the thread doing write() with jstack.

This test depends on the fact that a pipe has a reasonably finite buffer. So 
when it writes to the pipe in a loop, it expects write to return 0 at some 
point and polling for 'POLLOUT' would timeout after that since there is no 
reader on the other side.




> TestSocketIOWithTimeout fails under AIX - TIMEOUT error. 
> ---------------------------------------------------------
>
>                 Key: HADOOP-5116
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5116
>             Project: Hadoop Core
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.18.2
>         Environment: AIX
>            Reporter: Bill Habermaas
>            Priority: Minor
>         Attachments: javacore.20090126.144729.376858.0001.txt
>
>
> This test expects an exception to occur when read/writing a closed socket.  
> Under AIX this does not occur and results in a loop.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to