Hans Deragon created PHOENIX-5154: ------------------------------------- Summary: 'Exception thrown when renewing lease' generates java.lang.NullPointerException Key: PHOENIX-5154 URL: https://issues.apache.org/jira/browse/PHOENIX-5154 Project: Phoenix Issue Type: Bug Affects Versions: 4.14.0 Reporter: Hans Deragon
Got the following under sqlline.py, at the cursor, doing nothing: {noformat} 0: jdbc:phoenix:> 19/02/21 20:41:16 ERROR query.ConnectionQueryServicesImpl: Exception thrown when renewing lease java.lang.NullPointerException at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.setRenew(ScannerCallableWithReplicas.java:101) at org.apache.hadoop.hbase.client.ClientScanner.renewLease(ClientScanner.java:571) at org.apache.phoenix.iterate.TableResultIterator.renewLease(TableResultIterator.java:284) at org.apache.phoenix.query.ConnectionQueryServicesImpl$RenewLeaseTask.run(ConnectionQueryServicesImpl.java:4425) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) {noformat} Previously though, I got a lot of timeout exception while performing 'select count(*) from mytable' while I was inserting in a different terminal 3 000 000 rows into it. These exceptions might be related. Still, NullPointerException should never happens. There is some bug lingering somewhere. -- This message was sent by Atlassian JIRA (v7.6.3#76005)