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.