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

Switch to Threaded View
HBase >> mail # user >> Lease does not exist exceptions

Copy link to this message
Lease does not exist exceptions
I'm seeing "lease does not exist" exceptions under some circumstances, e.g.

org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hbase.regionserver.LeaseException: lease '4341530003498786620' does not exist

After reading some about the exception, I was wondering if the following will cause it. Say I have a very large table with some scattered values I am looking for. I am using a filter to search for these rows. Each call to scanner.next() might need to scan through several million rows before it finds one that matches the filter.

Could this cause the lease to timeout if it takes several minutes to find a filter match, or is there a client-server keep-alive message of some sort that prevents this?

It also looks like this might have been caused by a region server that went down and the cluster didn't recover gracefully.