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

Document the LeaseException thrown in scanner next

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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

        Hide
        stack stack added a comment -

        Committed. Let me push the book up to the site after this commit. Thanks for the mailing list distillation (and thanks Harsh for digging in on this one...)

        Show
        stack stack added a comment - Committed. Let me push the book up to the site after this commit. Thanks for the mailing list distillation (and thanks Harsh for digging in on this one...)
        Hide
        stack stack added a comment -

        I meant to say thanks Daniel for distilling the mailing list thread and making this issue.

        Show
        stack stack added a comment - I meant to say thanks Daniel for distilling the mailing list thread and making this issue.
        Hide
        hudson Hudson added a comment -

        Integrated in HBase-TRUNK #3366 (See https://builds.apache.org/job/HBase-TRUNK/3366/)
        HBASE-6856 Document the LeaseException thrown in scanner next (Revision 1388604)

        Result = FAILURE
        stack :
        Files :

        • /hbase/trunk/src/docbkx/troubleshooting.xml
        Show
        hudson Hudson added a comment - Integrated in HBase-TRUNK #3366 (See https://builds.apache.org/job/HBase-TRUNK/3366/ ) HBASE-6856 Document the LeaseException thrown in scanner next (Revision 1388604) Result = FAILURE stack : Files : /hbase/trunk/src/docbkx/troubleshooting.xml
        Hide
        hudson Hudson added a comment -

        Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #186 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/186/)
        HBASE-6856 Document the LeaseException thrown in scanner next (Revision 1388604)

        Result = FAILURE
        stack :
        Files :

        • /hbase/trunk/src/docbkx/troubleshooting.xml
        Show
        hudson Hudson added a comment - Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #186 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/186/ ) HBASE-6856 Document the LeaseException thrown in scanner next (Revision 1388604) Result = FAILURE stack : Files : /hbase/trunk/src/docbkx/troubleshooting.xml
        Hide
        stack stack added a comment -

        Marking closed.

        Show
        stack stack added a comment - Marking closed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development