hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3666) TestScannerTimeout fails occasionally
Date Thu, 24 Mar 2011 20:29:05 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010897#comment-13010897
] 

stack commented on HBASE-3666:
------------------------------

True.  I'm committing your patch as is Todd.

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

Mime
View raw message