Table insertIntoTable(Connection conn, TableName table, byte[] family, int id, int numRows)
    throws IOException {
    Table t = conn.getTable(table);
    Put p1;
    for (int i = 0; i < numRows; i++) {
      p1 = new Put(Bytes.toBytes("row-" + table + "-" + id + "-" + i));
      p1.addColumn(family, qualName, Bytes.toBytes("val" + i));
      t.put(p1);
    }
    return t;
  }
Setup Cluster with appropriate configurations before running tests.
@throws Exception if starting the mini cluster or setting up the tables fails
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupBase.java