hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhirendra Singh <dps...@gmail.com>
Subject Getting ScannerTimeoutException even after several calls in the specified time limit
Date Mon, 10 Sep 2012 17:13:35 GMT
I am facing this exception while iterating over a big table,  by default i
have specified caching as 100,

i am getting the below exception, even though i checked there are several
calls made to the scanner before it threw this exception, but somehow its
saying 86095ms were passed since last invocation.

i also observed that if it set scan.setCaching(false),  it succeeds,  could
some one please explain or point me to some document as if what's happening
here and what's the best practices to avoid it.



 org.apache.hadoop.hbase.client.ScannerTimeoutException: 86095ms passed
since the last invocation, timeout is currently set to 60000
at
org.apache.hadoop.hbase.client.HTable$ClientScanner$1.hasNext(HTable.java:1402)
 at
org.apache.hadoop.hbase.client.HTable$ClientScanner$1.next(HTable.java:1413)
at
org.apache.hadoop.hbase.client.HTable$ClientScanner$1.next(HTable.java:1388)

Caused by: org.apache.hadoop.hbase.client.ScannerTimeoutException: 86095ms
passed since the last invocation, timeout is currently set to 60000
 at
org.apache.hadoop.hbase.client.HTable$ClientScanner.next(HTable.java:1302)
at
org.apache.hadoop.hbase.client.HTable$ClientScanner$1.hasNext(HTable.java:1399)
 ... 8 more
Caused by: org.apache.hadoop.hbase.UnknownScannerException:
org.apache.hadoop.hbase.UnknownScannerException: Name: -1634449530807377233
 at
org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:2114)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
 at
org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1336)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at
org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:96)
at
org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:108)
 at
org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:42)
at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionServerWithRetries(HConnectionManager.java:1325)
 at
org.apache.hadoop.hbase.client.HTable$ClientScanner.next(HTable.java:1293)
... 9 more


Thank's
Dhirendra

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message