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:06:51 GMT

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

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

Hi [~chuanliu], I think this is not the root cause. I run restRetryProxy alone and also get
the timeout, this probably has nothing to do with socket leak. Here is the error message.
{code}
      public void run() {
        LOG.info(Integer.toString(retryCount));
        Assert.assertEquals(retryCount++, Server.getCallRetryCount());
      }
{code}

{code}
2013-08-31 06:00:45,603 INFO  ipc.Server (Server.java:run(567)) - Starting Socket Reader #1
for port 53964
2013-08-31 06:00:45,665 INFO  ipc.Server (Server.java:run(864)) - IPC Server Responder: starting
2013-08-31 06:00:45,665 INFO  ipc.Server (Server.java:run(691)) - IPC Server listener on 53964:
starting
2013-08-31 06:00:45,754 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:00:45,784 INFO  ipc.TestIPC (TestIPC.java:run(785)) - 0
2013-08-31 06:00:45,790 INFO  ipc.TestIPC (TestIPC.java:run(785)) - 1
[EOF]
{code}

You can see client retried twice and got stuck

{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.ipc.TestIPC
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.253 sec <<< FAILURE!
testRetryProxy(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 10019 sec  <<< ERROR!
java.lang.Exception: test timed out after 10000 milliseconds
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:485)
	at org.apache.hadoop.ipc.Client.call(Client.java:1390)
	at org.apache.hadoop.ipc.Client.call(Client.java:1357)
	at org.apache.hadoop.ipc.Client.call(Client.java:1302)
	at org.apache.hadoop.ipc.TestIPC$TestInvocationHandler.invoke(TestIPC.java:201)
	at org.apache.hadoop.ipc.$Proxy7.dummyRun(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:185)
	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:101)
	at org.apache.hadoop.ipc.$Proxy7.dummyRun(Unknown Source)
	at org.apache.hadoop.ipc.TestIPC.testRetryProxy(TestIPC.java:800)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)

{code}


                
> 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