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

TestScannerTimeout fails occasionally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.1
    • 0.90.2
    • None
    • None
    • Reviewed

    Description

      LeaseExceptionIf I loop TestScannerTimeout, it eventually fails with:

      org.apache.hadoop.hbase.regionserver.LeaseException: org.apache.hadoop.hbase.regionserver.LeaseException: lease '-4526340287831625207' does not exist
      at org.apache.hadoop.hbase.regionserver.Leases.cancelLease(Leases.java:209)
      at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1816)
      ...
      at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:83)
      at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:38)
      at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionServerWithRetries(HConnectionManager.java:1003)
      at org.apache.hadoop.hbase.client.HTable$ClientScanner.next(HTable.java:1103)
      at org.apache.hadoop.hbase.client.HTable$ClientScanner.next(HTable.java:1175)
      at org.apache.hadoop.hbase.client.TestScannerTimeout.test2772(TestScannerTimeout.java:133)

      I think the issue is a race where at the top of the function, the scanner does exist, but by the time it gets to cancelLease, it has timed out.

      Attachments

        1. hbase-3666.txt
          1 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: