You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/04/04 00:31:17 UTC

[jira] [Resolved] (HBASE-7751) TestDelayedRpc occasionally fails in trunk

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

stack resolved HBASE-7751.
--------------------------

    Resolution: Not A Problem

Resolving as 'not a problem'.  No patch applied.  I went over the last twenty builds on EC2 and this test is not mentioned.  Looked at last ten on apache builds and no failure of this test.  Lets open new issue if we see it again and some diagnosis of what is up has gone on.
                
> TestDelayedRpc occasionally fails in trunk
> ------------------------------------------
>
>                 Key: HBASE-7751
>                 URL: https://issues.apache.org/jira/browse/HBASE-7751
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>             Fix For: 0.95.0
>
>
> From https://builds.apache.org/job/HBase-TRUNK/3846/testReport/org.apache.hadoop.hbase.ipc/TestDelayedRpc/testDelayedRpcImmediateReturnValue/:
> {code}
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.rangeCheck(ArrayList.java:604)
> 	at java.util.ArrayList.get(ArrayList.java:382)
> 	at org.apache.hadoop.hbase.ipc.TestDelayedRpc.testDelayedRpc(TestDelayedRpc.java:96)
> 	at org.apache.hadoop.hbase.ipc.TestDelayedRpc.testDelayedRpcImmediateReturnValue(TestDelayedRpc.java:59)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> 	at org.junit.runners.Suite.runChild(Suite.java:127)
> 	at org.junit.runners.Suite.runChild(Suite.java:26)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> Standard Output
> 2013-02-02 07:49:26,693 INFO  [pool-1-thread-1] hbase.ResourceChecker(147): before: ipc.TestDelayedRpc#testDelayedRpcImmediateReturnValue Thread=5, OpenFileDescriptor=81, MaxFileDescriptor=4096, ConnectionCount=0
> 2013-02-02 07:49:31,746 WARN  [pool-1-thread-1] impl.MetricsSystemImpl(137): Metrics system not started: Cannot locate configuration: tried hadoop-metrics2-hbase.properties, hadoop-metrics2.properties
> Exception in thread "Thread-7" java.lang.AssertionError: Unexpected exception: null	at org.junit.Assert.fail(Assert.java:88)	at org.apache.hadoop.hbase.ipc.TestDelayedRpc$TestThread.run(TestDelayedRpc.java:249)Exception in thread "Thread-8" java.lang.AssertionError: Unexpected exception: null	at org.junit.Assert.fail(Assert.java:88)	at org.apache.hadoop.hbase.ipc.TestDelayedRpc$TestThread.run(TestDelayedRpc.java:249)2013-02-02 07:49:36,410 WARN  [IPC Client (47) connection to /127.0.0.1:36850 from jenkins] ipc.HBaseClient$Connection(640): Unexpected exception receiving call responses
> java.lang.RuntimeException: java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.receiveResponse(HBaseClient.java:1003)
> 	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.run(HBaseClient.java:637)
> Caused by: java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.receiveResponse(HBaseClient.java:999)
> 	... 1 more
> Exception in thread "Thread-9" java.lang.AssertionError: Unexpected exception: null	at org.junit.Assert.fail(Assert.java:88)	at org.apache.hadoop.hbase.ipc.TestDelayedRpc$TestThread.run(TestDelayedRpc.java:249)2013-02-02 07:49:36,449 INFO  [pool-1-thread-1] hbase.ResourceChecker(171): after: ipc.TestDelayedRpc#testDelayedRpcImmediateReturnValue Thread=21 (was 5)
> {code}
> Here is related code where NPE was thrown:
> {code}
>             rpcResponseType = ProtobufRpcClientEngine.Invoker.getReturnProtoType(
>                 getMethod(remoteId.getProtocol(),
>                           call.param.getMethodName()));
> {code}

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