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

Document the LeaseException thrown in scanner next

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.0
    • 0.95.0
    • documentation
    • Reviewed

    Description

      In some situations clients that fetch data from a RS get a LeaseException instead of the usual ScannerTimeoutException/UnknownScannerException.

      This particular case should be documented in the HBase guide.

      Some key points

      • the source of exception is: org.apache.hadoop.hbase.regionserver.Leases.removeLease(Leases.java:230)
      • it happens in the context of a slow/freezing RS#next
      • it can be prevented by having hbase.rpc.timeout > hbase.regionserver.lease.period

      Harsh J investigated the issue and has some conclusions, see

      http://mail-archives.apache.org/mod_mbox/hbase-user/201209.mbox/%3CCAOcnVr3R-LqtKhFsk8Bhrm-YW2i9O6J6Fhjz2h7q6_sxvwd2yw%40mail.gmail.com%3E

      Attachments

        Activity

          People

            diancu Daniel Iancu
            diancu Daniel Iancu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: