// HBase has write access to familyDir's contents
chmod(familyDir.toString());
HTable table = new HTable(conf, TABLE);
LoadIncrementalHFiles loader = new LoadIncrementalHFiles(conf);
loader.doBulkLoad(dir, table);
assertEquals(expectedRows, HBaseTestUtil.countRows(table));
// disable and drop if we succeeded to verify
admin.disableTable(TABLE);