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

TestScannerTimeout fails occasionally

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment