@BeforeClass public static void beforeClass() throws Exception { HBaseTestUtils.getMiniCluster(); byte[] tableNameBytes = Bytes.toBytes(tableName); byte[][] cfNames = {Bytes.toBytes("meta"), Bytes.toBytes("conflict"), Bytes.toBytes("_s")}; HBaseTestUtils.util.createTable(tableNameBytes, cfNames); }
@Before public void beforeTest() throws Exception { tablePool = new HTablePool(HBaseTestUtils.getConf(), 10); }