TestScannerTimeout fails occasionally
-------------------------------------

                 Key: HBASE-3666
                 URL: https://issues.apache.org/jira/browse/HBASE-3666
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.90.1
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
             Fix For: 0.90.2


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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to