admin.createTable(htd, SPLIT_KEYS);
HTable table = new HTable(conf, TABLE);
LoadIncrementalHFiles loader = new LoadIncrementalHFiles(conf);
loader.doBulkLoad(dir, table);
Assert.assertEquals(expectedRows, HBaseTestUtil.countRows(table));
// disable and drop if we succeeded to verify
admin.disableTable(TABLE);