hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: UnknownScannerException
Date Sat, 06 Mar 2010 00:23:30 GMT
That happens when you spend more than 1 minute between each call to a
region server (in the region server log you should see a "scanner
lease expired". If you are using scan.setCaching(x), then you must
spend less than 1 minute processing x rows.

Either make sure you spend less than 1 minute or you can just create a
new scan and set the start row to the latest one you saw.

J-D

On Fri, Mar 5, 2010 at 4:13 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> Hi,
> We use HBase 0.20.1
> I saw the following in regionserver log:
> 2010-03-05 16:02:57,952 ERROR [IPC Server handler 60 on 60020]
> regionserver.HRegionServer(844):
> org.apache.hadoop.hbase.UnknownScannerException: Name: -1
>  at
> org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1925)
>  at sun.reflect.GeneratedMethodAccessor34.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.HBaseRPC$Server.call(HBaseRPC.java:648)
>  at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> 2010-03-05 16:03:09,234 DEBUG [pool-1-thread-1] hfile.LruBlockCache(551):
> Cache Stats: Sizes: Total=46.31048MB (48560056), Free=1179.1646MB
> (1236443592), Max=1225.475MB (1285003648), Counts: Blocks=481,
> Access=1508314, Hit=1482340, Miss=25974, Evictions=0, Evicted=0, Ratios: Hit
> Ratio=98.27794432640076%, Miss Ratio=1.7220553010702133%, Evicted/Run=NaN
>
> At the same time, client complained:
> org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact
> region server 10.10.31.136:60020 for region ruletable,,1267831180107, row
> '', but failed after 10 attempts.
> Exceptions:
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
> java.io.IOException: Call to /10.10.31.136:60020 failed on local exception:
> java.io.EOFException
>
>        at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getRegionServerWithRetries(HConnectionManager.java:1048)
>        at
> org.apache.hadoop.hbase.client.HTable$ClientScanner.nextScanner(HTable.java:1935)
>        at
> org.apache.hadoop.hbase.client.HTable$ClientScanner.initialize(HTable.java:1855)
>        at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:376)
>        at
> net.kindsight.webmap.rules.datastore.HBaseDataStore.get(HBaseDataStore.java:297)
>
> What should I do to get pass the UnknownScannerException ?
>
> Thanks
>

Mime
View raw message