Using Apache HBase to store and access data
Also available as:
loading table of contents...

Method 1:Enable MOB Storage support using configure options in the command line

You can enable MOB storage support using configure options in the HBase shell.

Run the table create command or the table alter command and do the following.
  • Set the IS_MOB option to true.
  • Set the MOB_THRESHOLD option to the number of bytes for the threshold size above which an object is treated as a medium-size object.

Following are a couple of HBase shell command examples:

hbase> create 't1', {IMAGE_DATA => 'f1', IS_MOB => true, MOB_THRESHOLD => 102400}
hbase> alter 't1', {IMAGE_DATA => 'f1', IS_MOB => true, MOB_THRESHOLD => 102400}