Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase, mail # user - Differences between ScannerTimeoutException and LeaseException during a scanner

Copy link to this message
Differences between ScannerTimeoutException and LeaseException during a scanner
Guillaume Perrot 2012-11-15, 14:46
Similar questions have been mailed in the past, but they are not clear
enough to me, so here is a new one:
In HBase 0.90.3, when a client scanner was too slow to advance (no actual
next call within 60s), we had a nice ScannerTimeoutException in client
(UnknownScannerException in region server).
With HBase 0.92.1, when I simulate such a slow scanner I still have this

But in our production environment, scanners that used to
produce ScannerTimeoutException in HBase 0.90.3 no longer produce them
since we upgraded to HBase 0.92.1.
Instead we now have:
org.apache.hadoop.hbase.regionserver.LeaseException: lease
'2770824890045864909' does not exist
at org.apache.hadoop.hbase.regionserver.Leases.removeLease(Leases.java:231)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:597)

I don't uderstand the workflow leading to this exception instead of a
ScannerTimeoutException, any local attempt to reproduce this problem leads
to a ScannerTimeoutException and not a LeaseException.
Any idea ?
Thanks in advance.
Guillaume Perrot 2012-11-15, 15:45
Ted Yu 2012-11-15, 17:43
Guillaume Perrot 2012-11-15, 18:12
killaron 2013-02-12, 23:26