.toBytes(table));
for (HRegionInfo hri : hrs.getOnlineRegions()) {
if (Bytes.equals(hri.getTableName(), Bytes.toBytes(table))) {
// splitRegion doesn't work if startkey/endkey are null
hrs.splitRegion(hri, rowkey(ROWCOUNT / 2)); // hard code split
}
}
// verify that split completed.
int regions;