Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Cached an already cached block (HBASE-5285)


Copy link to this message
-
Re: Cached an already cached block (HBASE-5285)
On Sun, May 5, 2013 at 10:45 PM, ramkrishna vasudevan <
[EMAIL PROTECTED]> wrote:

> Just to confirm you are getting this with LruBlockCache? If with
> LruBlockCache then the issue is critical.
>  Because we have faced similar issue with OffHeapCache.  But that is not
> yet stable as far as i know.
>
> Regards
> Ram
>

Yes, it's with LRU cache. My bad, should have copy/pasted the stack trace
too. Here you go:

java.io.IOException: java.lang.RuntimeException: Cached an already cached
block
at
org.apache.hadoop.hbase.regionserver.HRegionServer.convertThrowableToIOE(HRegionServer.java:1192)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.convertThrowableToIOE(HRegionServer.java:1181)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.get(HRegionServer.java:2041)
at sun.reflect.GeneratedMethodAccessor30.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:1426)
Caused by: java.lang.RuntimeException: Cached an already cached block
at
org.apache.hadoop.hbase.io.hfile.LruBlockCache.cacheBlock(LruBlockCache.java:279)
at
org.apache.hadoop.hbase.io.hfile.HFileReaderV2.readBlock(HFileReaderV2.java:353)
at
org.apache.hadoop.hbase.util.CompoundBloomFilter.contains(CompoundBloomFilter.java:98)
at
org.apache.hadoop.hbase.regionserver.StoreFile$Reader.passesGeneralBloomFilter(StoreFile.java:1511)
at
org.apache.hadoop.hbase.regionserver.StoreFile$Reader.passesBloomFilter(StoreFile.java:1383)
at
org.apache.hadoop.hbase.regionserver.StoreFileScanner.shouldUseScanner(StoreFileScanner.java:373)
at
org.apache.hadoop.hbase.regionserver.StoreScanner.selectScannersFrom(StoreScanner.java:257)
at
org.apache.hadoop.hbase.regionserver.StoreScanner.getScannersNoCompaction(StoreScanner.java:221)
at org.apache.hadoop.hbase.regionserver.StoreScanner.(StoreScanner.java:119)
at org.apache.hadoop.hbase.regionserver.Store.getScanner(Store.java:1963)
at
org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.(HRegion.java:3517)
at
org.apache.hadoop.hbase.regionserver.HRegion.instantiateRegionScanner(HRegion.java:1700)
at
org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1692)
at
org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1668)
at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:4406)
at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:4380)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.get(HRegionServer.java:2039)