Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hbase Mob table Can‘t be compacted

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(DefaultMobCompactor.java:150) at org.apache.hadoop.hbase.regionserver.compactions.DefaultCompactor.compact(DefaultCompactor.java:105) at org.apache.hadoop.hbase.regionserver.DefaultStoreEngine$DefaultCompactionContext.compact(DefaultStoreEngine.java:124) at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:1233) at org.apache.hadoop.hbase.regionserver.HMobStore.compact(HMobStore.java:495) at org.apache.hadoop.hbase.regionserver.HRegion.compact(HRegion.java:1742) at org.apache.hadoop.hbase.regionserver.CompactSplitThread$CompactionRunner.run(CompactSplitThread.java:520) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
1 REPLY 1

Re: hbase Mob table Can‘t be compacted

New Contributor
by the way , i use cdh5.5.1