private Table createTableWithOneFile(TableDescriptor tableDescriptor) throws IOException {
    Table table = TEST_UTIL.createTable(tableDescriptor, null);
    try {
      // insert data
      byte[] value = generateMobValue(10);
      byte[] row = Bytes.toBytes("row");
      Put put = new Put(row);
      put.addColumn(FAMILY, QF, EnvironmentEdgeManager.currentTime(), value);
      table.put(put);

      // create an hfile
      TEST_UTIL.getAdmin().flush(tableDescriptor.getTableName());
    } catch (IOException e) {
      table.close();
      throw e;
    }
    return table;
  }
Generate the mob value. the size of the value
@return the mob value generated
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDeleteMobTable.java