hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@yahoo.com>
Subject Re: CompactSplitThread Exception and other questions
Date Sun, 30 Nov 2008 18:50:31 GMT
Hello Thibaut:

Regarding the exception upon compaction with bloomfilters

Can you say a bit more about how you created the table?
What is the schema? Did you create all column families at
once or did you add some over time? Did you enable
bloomfilters from the very beginning or did you store some
data into the table first and then enable bloomfilters
later via a schema change?

Also, is it the case that compaction fails on one table/
family with bloomfilters enabled but succeeds on another?
If so what do you think the difference might be?


   - Andy
> From: Thibaut_ <tbritz@blue.lu>
> As soon as hbase tries to compact the table, the following
> exception appears in the logfile: (Other compactations also
> work fine without any errors)
> 2008-11-30 00:55:57,769 ERROR
> org.apache.hadoop.hbase.regionserver.CompactSplitThread:
> Compaction failed
> for region mytable,,1228002541526
> java.lang.IllegalArgumentException: maxValue must be > 0
> 	at
> org.onelab.filter.HashFunction.<init>(HashFunction.java:84)
> 	at org.onelab.filter.Filter.<init>(Filter.java:97)
> 	at
> org.onelab.filter.BloomFilter.<init>(BloomFilter.java:102)
> 	at
> org.apache.hadoop.hbase.regionserver.HStoreFile$BloomFilterMapFile$Writer.<init>(HStoreFile.java:829)
> 	at
> org.apache.hadoop.hbase.regionserver.HStoreFile.getWriter(HStoreFile.java:436)
> 	at
> org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:889)
> 	at
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:902)
> 	at
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:860)
> 	at
> org.apache.hadoop.hbase.regionserver.CompactSplitThread.run(CompactSplitThread.java:83)


View raw message