hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8164) TestTableLockManager fails intermittently in trunk builds
Date Sat, 30 Mar 2013 16:05:16 GMT

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

Ted Yu commented on HBASE-8164:
-------------------------------

I am trying to find out why the test failed again in https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/469/testReport/org.apache.hadoop.hbase.master/TestTableLockManager/testTableReadLock/
:
{code}
2013-03-30 04:43:51,011 WARN  [Split thread] master.TestTableLockManager$6(366): Caught exception
java.io.IOException: java.io.IOException: java.lang.AssertionError: getSplitPoint() called
on a region that can't split!
	at org.apache.hadoop.hbase.regionserver.HStore.getSplitPoint(HStore.java:1540)
	at org.apache.hadoop.hbase.regionserver.RegionSplitPolicy.getSplitPoint(RegionSplitPolicy.java:81)
	at org.apache.hadoop.hbase.regionserver.HRegion.checkSplit(HRegion.java:5172)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.splitRegion(HRegionServer.java:3500)
	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.hbase.ipc.ProtobufRpcServerEngine$Server.call(ProtobufRpcServerEngine.java:174)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1871)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:90)
	at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:79)
	at org.apache.hadoop.hbase.ipc.ProtobufRpcClientEngine$Invoker.invoke(ProtobufRpcClientEngine.java:146)
	at $Proxy21.splitRegion(Unknown Source)
	at org.apache.hadoop.hbase.protobuf.ProtobufUtil.split(ProtobufUtil.java:1424)
	at org.apache.hadoop.hbase.client.HBaseAdmin.split(HBaseAdmin.java:1805)
	at org.apache.hadoop.hbase.client.HBaseAdmin.split(HBaseAdmin.java:1777)
	at org.apache.hadoop.hbase.client.HBaseAdmin.split(HBaseAdmin.java:1750)
	at org.apache.hadoop.hbase.master.TestTableLockManager$6.chore(TestTableLockManager.java:361)
	at org.apache.hadoop.hbase.Chore.run(Chore.java:81)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(java.io.IOException): java.io.IOException:
java.lang.AssertionError: getSplitPoint() called on a region that can't split!
	at org.apache.hadoop.hbase.regionserver.HStore.getSplitPoint(HStore.java:1540)
	at org.apache.hadoop.hbase.regionserver.RegionSplitPolicy.getSplitPoint(RegionSplitPolicy.java:81)
	at org.apache.hadoop.hbase.regionserver.HRegion.checkSplit(HRegion.java:5172)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.splitRegion(HRegionServer.java:3500)
	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.hbase.ipc.ProtobufRpcServerEngine$Server.call(ProtobufRpcServerEngine.java:174)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1871)

	at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:1321)
	at org.apache.hadoop.hbase.ipc.ProtobufRpcClientEngine$Invoker.invoke(ProtobufRpcClientEngine.java:131)
	... 8 more
2013-03-30 04:43:51,012 FATAL [Split thread] hbase.Chore(92): Split threaderror
java.lang.AssertionError: java.io.IOException: java.lang.AssertionError: getSplitPoint() called
on a region that can't split!
	at org.apache.hadoop.hbase.regionserver.HStore.getSplitPoint(HStore.java:1540)
	at org.apache.hadoop.hbase.regionserver.RegionSplitPolicy.getSplitPoint(RegionSplitPolicy.java:81)
	at org.apache.hadoop.hbase.regionserver.HRegion.checkSplit(HRegion.java:5172)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.splitRegion(HRegionServer.java:3500)
	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.hbase.ipc.ProtobufRpcServerEngine$Server.call(ProtobufRpcServerEngine.java:174)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1871)

	at org.junit.Assert.fail(Assert.java:88)
	at org.apache.hadoop.hbase.master.TestTableLockManager$6.chore(TestTableLockManager.java:367)
	at org.apache.hadoop.hbase.Chore.run(Chore.java:81)
	at java.lang.Thread.run(Thread.java:662)
2013-03-30 04:43:51,012 INFO  [Split thread] hbase.Chore(94): Split thread exiting
{code}
getSplittableRegion() didn't appear in stack trace. We catch Exception in getSplittableRegion()
while AssertionError is a Throwable.
I think we should remove the fail() in splitThread:
{code}
        } catch (Exception ex) {
          LOG.warn("Caught exception", ex);
          fail(ex.getMessage());
{code}
                
> TestTableLockManager fails intermittently in trunk builds
> ---------------------------------------------------------
>
>                 Key: HBASE-8164
>                 URL: https://issues.apache.org/jira/browse/HBASE-8164
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.95.0, 0.98.0
>
>         Attachments: 8164-addendum.txt, 8164-v2.txt, 8164-v3.txt, 8164-v4.txt
>
>
> In build #3979:
>  testTableReadLock(org.apache.hadoop.hbase.master.TestTableLockManager): test timed out
after 600000 milliseconds

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