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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3h 36m 1 stack 21/Sep/12 18:32
        Resolved Resolved Closed Closed
        366d 23h 58m 1 stack 23/Sep/13 18:31
        stack made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        stack added a comment -

        Marking closed.

        Show
        stack added a comment - Marking closed.
        stack made changes -
        Fix Version/s 0.98.0 [ 12323143 ]
        stack made changes -
        Fix Version/s 0.98.0 [ 12323143 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Hide
        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 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
        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 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
        stack added a comment -

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

        Show
        stack added a comment - I meant to say thanks Daniel for distilling the mailing list thread and making this issue.
        stack made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Assignee Daniel Iancu [ diancu ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Resolution Fixed [ 1 ]
        Hide
        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 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...)
        Daniel Iancu made changes -
        Field Original Value New Value
        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/browser
        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
        Daniel Iancu created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development