You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/02/05 22:36:10 UTC

[jira] [Created] (HBASE-10475) TestRegionServerCoprocessorExceptionWithAbort may timeout due to concurrent lease removal

Ted Yu created HBASE-10475:
------------------------------

             Summary: TestRegionServerCoprocessorExceptionWithAbort may timeout due to concurrent lease removal
                 Key: HBASE-10475
                 URL: https://issues.apache.org/jira/browse/HBASE-10475
             Project: HBase
          Issue Type: Test
            Reporter: Ted Yu
            Priority: Minor


I got the following test failure:
{code}
testExceptionFromCoprocessorDuringPut(org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort)  Time elapsed: 0.049 sec  <<< ERROR!
java.lang.Exception: test timed out after 60000 milliseconds
        at java.lang.Object.wait(Native Method)
        at org.apache.hadoop.hbase.client.AsyncProcess.waitForNextTaskDone(AsyncProcess.java:837)
        at org.apache.hadoop.hbase.client.AsyncProcess.waitForMaximumCurrentTasks(AsyncProcess.java:863)
        at org.apache.hadoop.hbase.client.AsyncProcess.waitUntilDone(AsyncProcess.java:876)
        at org.apache.hadoop.hbase.client.HTable.backgroundFlushCommits(HTable.java:945)
        at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1225)
        at org.apache.hadoop.hbase.client.HTable.put(HTable.java:887)
        at org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort.testExceptionFromCoprocessorDuringPut(TestRegionServerCoprocessorExceptionWithAbort.java:106)
{code}
This was due to unexpected LeaseException bringing down region server:
{code}
2014-02-05 19:28:24,752 ERROR [RS_OPEN_REGION-kiyo:56349-1] coprocessor.CoprocessorHost(760): The coprocessor org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort$BuggyRegionObserver threw an unexpected exception
org.apache.hadoop.hbase.regionserver.LeaseException: lease 'x' does not exist
	at org.apache.hadoop.hbase.regionserver.Leases.removeLease(Leases.java:221)
	at org.apache.hadoop.hbase.regionserver.Leases.cancelLease(Leases.java:206)
	at org.apache.hadoop.hbase.coprocessor.SimpleRegionObserver.start(SimpleRegionObserver.java:140)
	at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$Environment.startup(CoprocessorHost.java:651)
	at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadInstance(CoprocessorHost.java:261)
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)