HBase
  1. HBase
  2. HBASE-6856

Document the LeaseException thrown in scanner next

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.0
    • Fix Version/s: 0.95.0
    • Component/s: documentation
    • Labels:
    • Hadoop Flags:
      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

        Activity

          People

          • Assignee:
            Daniel Iancu
            Reporter:
            Daniel Iancu
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development