From b72eb7f92eac483e90b460d536166445f84b1de4 Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Thu, 2 Oct 2014 13:07:12 +1000 Subject: [PATCH] HBASE-11339 integrated updates made to the MOB Handbook DOCX file --- src/main/docbkx/hbase_mob.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/docbkx/hbase_mob.xml b/src/main/docbkx/hbase_mob.xml index d6fed1e249f..c3fb0ebf4d0 100644 --- a/src/main/docbkx/hbase_mob.xml +++ b/src/main/docbkx/hbase_mob.xml @@ -72,7 +72,7 @@ hbase> alter 't1', {NAME => 'f1', IS_MOB => true, MOB_THRESHOLD => 102400} Configure a Column for MOB Using the API ... -HColumnDescriptor hcd = new HColumnDescriptor("f"); +HColumnDescriptor hcd = new HColumnDescriptor(“f”); hcd.setMobEnabled(true); ... hcd.setMobThreshold(102400L); @@ -80,7 +80,7 @@ hcd.setMobThreshold(102400L); - +
Testing MOB The utility org.apache.hadoop.hbase.IntegrationTestIngestMOB is @@ -123,7 +123,7 @@ hcd.setMobThreshold(102400L); hbase.mob.sweep.tool.compaction.ratio 0.5f - If there're too many cells deleted in a mob file, it's regarded + If there are too many cells deleted in a mob file, it's regarded as an invalid file and needs to be merged. If existingCellsSize/mobFileSize is less than ratio, it's regarded as an invalid file. The default value is 0.5f.