CassandraClient client = getClient(false);
try
{
client.system_add_keyspace(keyspace);
System.out.println(String.format("Created keyspaces. Sleeping %ss for propagation.", nodes.length));
Thread.sleep(nodes.length * 1000); // seconds
}
catch (InvalidRequestException e)
{