Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10475

TestRegionServerCoprocessorExceptionWithAbort may timeout due to concurrent lease removal

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.98.0, 0.99.0
    • None
    • None
    • Reviewed

    Description

      I got the following test failure:

      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)
      

      This was due to unexpected LeaseException bringing down region server:

      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)
      

      Attachments

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: