From 93d2fc5ce2f36c54034932de4b35ea9406ddcc13 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 21 Sep 2012 18:31:22 +0000 Subject: [PATCH] HBASE-6856 Document the LeaseException thrown in scanner next git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1388604 13f79535-47bb-0310-9956-ffa450edef68 --- src/docbkx/troubleshooting.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/docbkx/troubleshooting.xml b/src/docbkx/troubleshooting.xml index a6f34c0f402..8059755cde1 100644 --- a/src/docbkx/troubleshooting.xml +++ b/src/docbkx/troubleshooting.xml @@ -530,6 +530,18 @@ hadoop 17789 155 35.2 9067824 8604364 ? S<l Mar04 9855:48 /usr/java/j See . +
+ <classname>LeaseException</classname> when calling <classname>Scanner.next</classname> + +In some situations clients that fetch data from a RegionServer get a LeaseException instead of the usual +. Usually the source of the exception is +org.apache.hadoop.hbase.regionserver.Leases.removeLease(Leases.java:230) (line number may vary). +It tends to happen in the context of a slow/freezing RegionServer#next call. +It can be prevented by having hbase.rpc.timeout > hbase.regionserver.lease.period. +Harsh J investigated the issue as part of the mailing list thread +HBase, mail # user - Lease does not exist exceptions + +
Shell or client application throws lots of scary exceptions during normal operation Since 0.20.0 the default log level for org.apache.hadoop.hbase.*is DEBUG.