System.out.println("hosts with key " + new String(row) + " : " + hosts + "; choose " + endpoints.get(0));
// now, read the row back directly from the host owning the row locally
tester.setup(endpoints.get(0).getHostAddress(), DatabaseDescriptor.getRpcPort());
tester.thriftClient.set_keyspace(keyspace);
Clock clock = new Clock();
clock.setTimestamp(1);
tester.thriftClient.insert(row, parent, new Column("col1".getBytes(), "val1".getBytes(), clock), ConsistencyLevel.ONE);
Column column = tester.thriftClient.get(row, col, ConsistencyLevel.ONE).column;
System.out.println("read row " + new String(row) + " " + new String(column.name) + ":" + new String(column.value) + ":" + column.clock.timestamp);
}