private void addRows(HTable ht, byte[] family) throws IOException { List<Row> rows = new ArrayList<Row>(); for (int i = 0; i < TOTAL_ROWS;i++) { rows.add(createPut(family, "row" + i)); } HTableUtil.bucketRsBatch( ht, rows); }