Support Questions

Find answers, ask questions, and share your expertise

hbase Mob table Can‘t be compacted

New Contributor
hbase mob table can't be compacted when i create table like that: 'create 'STK_CN_TICK', {NAME => 'F1', IS_MOB => true, MOB_THRESHOLD => 102400, COMPRESSION => 'SNAPPY'}', i throw error as below, anyone know why? thanks in advance. 2017-05-12 09:02:10,702 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed Request = regionName=STK_CN_TICK,,1494491735148.b83abc69490b43880eeafc7719fb0ad6., storeName=F1, fileCount=8, fileSize=6.8 M (43.9 K, 6.7 M, 8.4 K, 8.4 K, 8.4 K, 8.4 K, 8.4 K, 8.4 K), priority=52, time=20100914653448309 java.lang.IllegalArgumentException: The scanner should be an instance of MobCompactionStoreScanner at org.apache.hadoop.hbase.mob.DefaultMobCompactor.performCompaction( at org.apache.hadoop.hbase.regionserver.compactions.DefaultCompactor.compact( at org.apache.hadoop.hbase.regionserver.DefaultStoreEngine$DefaultCompactionContext.compact( at org.apache.hadoop.hbase.regionserver.HStore.compact( at org.apache.hadoop.hbase.regionserver.HMobStore.compact( at org.apache.hadoop.hbase.regionserver.HRegion.compact( at org.apache.hadoop.hbase.regionserver.CompactSplitThread$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

New Contributor
by the way , i use cdh5.5.1
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.