Which hbase release are you using ? There is heartbeat support when scanning. Looks like the version you use doesn't have this support.
Cheers > On Dec 21, 2016, at 4:02 AM, Rajeshkumar J <[email protected]> > wrote: > > Hi, > > Thanks for the reply. I have properties as below > > <property> > <name>hbase.regionserver.lease.period</name> > <value>900000</value> > </property> > <property> > <name>hbase.rpc.timeout</name> > <value>900000>/value> > </property> > > > Correct me If I am wrong. > > I know hbase.regionserver.lease.period, which says how long a scanner > lives between calls to scanner.next(). > > As far as I understand when scanner.next() is called it will fetch no > of rows as in *hbase.client.scanner.caching. *When this fetching > process takes more than lease period it will close the scanner object. > so this exception occuring? > > > Thanks, > > Rajeshkumar J > > > > On Wed, Dec 21, 2016 at 5:07 PM, Richard Startin <[email protected] >> wrote: > >> It means your lease on a region server has expired during a call to >> resultscanner.next(). This happens on a slow call to next(). You can either >> embrace it or "fix" it by making sure hbase.rpc.timeout exceeds >> hbase.regionserver.lease.period. >> >> https://richardstartin.com >> >> On 21 Dec 2016, at 11:30, Rajeshkumar J <[email protected]< >> mailto:[email protected]>> wrote: >> >> Hi, >> >> I have faced below issue in our production cluster >> >> org.apache.hadoop.hbase.regionserver.LeaseException: >> org.apache.hadoop.hbase.regionserver.LeaseException: lease '166881' does >> not exist >> at org.apache.hadoop.hbase.regionserver.Leases. >> removeLease(Leases.java:221) >> at org.apache.hadoop.hbase.regionserver.Leases. >> cancelLease(Leases.java:206) >> at >> org.apache.hadoop.hbase.regionserver.RSRpcServices. >> scan(RSRpcServices.java:2491) >> at >> org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2. >> callBlockingMethod(ClientProtos.java:32205) >> at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2114) >> at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:101) >> at >> org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) >> at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) >> at java.lang.Thread.run(Thread.java:744) >> >> >> Can any one explain what is lease exception >> >> Thanks, >> Rajeshkumar J >>
