@Before
public void before() throws Exception {
tablePool = new HTablePool(HBaseTestUtils.getConf(), 10);
SchemaTool tool = new SchemaTool(new HBaseAdmin(HBaseTestUtils.getConf()),
new DefaultSchemaManager(tablePool));
tool.createOrMigrateSchema(tableName, testRecord, true);
tool.createOrMigrateSchema(tableName, testRecordv2, true);
tool.createOrMigrateSchema(compositeTableName, compositeSubrecord1, true);
tool.createOrMigrateSchema(compositeTableName, compositeSubrecord2, true);
tool.createOrMigrateSchema(incrementTableName, testIncrement, true);
manager = new DefaultSchemaManager(tablePool);
}