private static HTable createTable(int splits, HColumnDescriptor hcol) throws Exception {
byte[] tableName = Bytes.toBytes("test_table_" + RANDOM.nextInt(1000000000));
HBaseAdmin admin = HBASE_TEST_UTILITY.getHBaseAdmin();
HTableDescriptor htable = new HTableDescriptor(tableName);
htable.addFamily(hcol);
admin.createTable(htable, Bytes.split(Bytes.toBytes("a"), Bytes.toBytes("z"), splits));
HBASE_TEST_UTILITY.waitTableAvailable(tableName, 30000);
return new HTable(HBASE_TEST_UTILITY.getConfiguration(), tableName);
}
@AfterClass