hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuan Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9896) TestIPC fail on trunk with error VM crash or System.exit
Date Fri, 30 Aug 2013 19:01:54 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chuan Liu updated HADOOP-9896:
------------------------------

    Attachment: HADOOP-9896.patch

I investigated this problem a little bit. I think there is some socket leak in the test code.
Attach a patch that fix the leaking issue in the test by explicitly closing client and server
at the end of each test case. 
                
> 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: 2.0.5-alpha
>            Reporter: shanyu zhao
>            Assignee: Chuan Liu
>         Attachments: 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