You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "andylee (JIRA)" <ji...@apache.org> on 2013/12/30 04:39:51 UTC

[jira] [Updated] (HBASE-3666) TestScannerTimeout fails occasionally

     [ https://issues.apache.org/jira/browse/HBASE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

andylee updated HBASE-3666:
---------------------------

    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.

  was:
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.


> 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
>
>         Attachments: hbase-3666.txt
>
>
> 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.



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