HBase
  1. HBase
  2. HBASE-3666

TestScannerTimeout fails occasionally

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.1
    • Fix Version/s: 0.90.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

      1. hbase-3666.txt
        1 kB
        Todd Lipcon

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development