hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9896) TestIPC fail on trunk with error VM crash or System.exit
Date Sat, 31 Aug 2013 13:26:52 GMT

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

Binglin Chang commented on HADOOP-9896:
---------------------------------------

Another run timeout, this time with a bit more log

{code}

2013-08-31 06:20:35,671 INFO  ipc.Server (Server.java:run(567)) - Starting Socket Reader #1
for port 59419
2013-08-31 06:20:35,722 INFO  ipc.Server (Server.java:run(864)) - IPC Server Responder: starting
2013-08-31 06:20:35,723 INFO  ipc.Server (Server.java:run(691)) - IPC Server listener on 59419:
starting
2013-08-31 06:20:35,792 WARN  util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(62))
- Unable to load native-hadoop library for your platform... using builtin-java classes where
applicable
2013-08-31 06:20:35,833 INFO  ipc.TestIPC (TestIPC.java:run(805)) - 0
2013-08-31 06:20:35,843 INFO  ipc.TestIPC (TestIPC.java:run(805)) - 1
2013-08-31 06:20:45,830 INFO  ipc.Server (Server.java:doRead(804)) - IPC Server listener on
59419: readAndProcess from client 127.0.0.1 threw exception [java.io.IOException: Connection
reset by peer]
java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
        at sun.nio.ch.IOUtil.read(IOUtil.java:171)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:245)
        at org.apache.hadoop.ipc.Server.channelRead(Server.java:2600)
        at org.apache.hadoop.ipc.Server.access$3200(Server.java:125)
        at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1503)
        at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:795)
        at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:594)
        at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:569)
{code}

I suspect there is race condition in Client or Server causing this.



                
> TestIPC fail on trunk with error VM crash or System.exit
> --------------------------------------------------------
>
>                 Key: HADOOP-9896
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9896
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: shanyu zhao
>            Assignee: Chuan Liu
>         Attachments: HADOOP-9896.2.patch, HADOOP-9896.patch, org.apache.hadoop.ipc.TestIPC-output.txt
>
>
> I'm running hadoop unit tests on a Ubuntu 12.04 64 bit virtual machine, every time I
try to run all unit tests with command "mvn test", the TestIPC unit test will fail, the console
will show "The forked VM terminated without saying properly goodbye. VM crash or System.exit
called?"
> To reproduce:
> $cd hadoop-common-project/hadoop-common
> $mvn clean install -Pdist -DskipTests
> $mvn test -Pdist -Dtest=TestIPC

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message