hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5116) TestSocketIOWithTimeout fails under AIX - TIMEOUT error.
Date Thu, 29 Jan 2009 00:42:59 GMT

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

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


The stacktrace shows that test is blocked inside a write() to a pipe. This write is supposed
to be non-blocking. Is it possible that either JVM or AIX ignores {{channel.configureBlocking(false)}}
for pipes?

Could you check if this process is busy during this time? It it is then then there could be
other possibilities.

{noformat}
4XESTACKTRACE          at sun/nio/ch/FileDispatcher.write0(Native Method)
4XESTACKTRACE          at sun/nio/ch/FileDispatcher.write(FileDispatcher.java:76(Compiled
Code))
4XESTACKTRACE          at sun/nio/ch/IOUtil.writeFromNativeBuffer(IOUtil.java:119(Compiled
Code))
4XESTACKTRACE          at sun/nio/ch/IOUtil.write(IOUtil.java:87(Compiled Code))
4XESTACKTRACE          at sun/nio/ch/SinkChannelImpl.write(SinkChannelImpl.java:164(Compiled
Code))
4XESTACKTRACE          at org/apache/hadoop/net/SocketOutputStream$Writer.performIO(SocketOutputStream.java:55(Compiled
Code))
4XESTACKTRACE          at org/apache/hadoop/net/SocketIOWithTimeout.doIO(SocketIOWithTimeout.java:140)
4XESTACKTRACE          at org/apache/hadoop/net/SocketOutputStream.write(SocketOutputStream.java:146)
4XESTACKTRACE          at org/apache/hadoop/net/SocketOutputStream.write(SocketOutputStream.java:107)
4XESTACKTRACE          at java/io/OutputStream.write(OutputStream.java:79)
4XESTACKTRACE          at org/apache/hadoop/net/TestSocketIOWithTimeout.doIO(TestSocketIOWithTimeout.java:58)
4XESTACKTRACE          at org/apache/hadoop/net/TestSocketIOWithTimeout.testSocketIOWithTimeout(TestSocketIOWithTimeout.java:106)
4XESTACKTRACE          at sun/reflect/NativeMethodAccessorImpl.invoke0(Native Method)
4XESTACKTRACE          at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
4XESTACKTRACE          at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
4XESTACKTRACE          at java/lang/reflect/Method.invoke(Method.java:618)
{noformat}

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


Mime
View raw message