protected void writeVersionable(Connector c, String tableName, int size) throws TableNotFoundException, MutationsRejectedException {
for (int i = 0; i < size; i++) {
BatchWriter w = c.createBatchWriter(tableName, new BatchWriterConfig());
Mutation m = new Mutation("row1");
m.put("cf", "cq", String.valueOf(i));
w.addMutation(m);
w.close();
}
}
protected void assertVersionable(Connector c, String tableName, int size) throws TableNotFoundException {