Hi,
I was trying HBase from the 0.15 branch. And was doing:
HScannerInterface s = table.obtainScanner(...)
while(s.next(key, val)) {
....
}
And encounter the following exception whenever I spent too much time
in the while loop, (e.g. > 30 ~ 120 seconds). I am also doing insert
in the same table in another process. But the records they are working
on are definitely non-overlapping.
org.apache.hadoop.ipc.RemoteException:
org.apache.hadoop.hbase.UnknownScannerException: Name:
-7220522571873774180
at org.apache.hadoop.hbase.HRegionServer.next(HRegionServer.java:1075)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:379)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:596)
at org.apache.hadoop.ipc.Client.call(Client.java:482)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:184)
at $Proxy1.next(Unknown Source)
at org.apache.hadoop.hbase.HTable$ClientScanner.next(HTable.java:831)
...
there are totally 6 machines:
one running namenode, secondarynamenode, hbase master
five running datanode, regionserver
Cheers,
Cedric
|