String[] allhosts = hosts.split(",");
String myhost = allhosts[random.nextInt(allhosts.length)];
System.out.println(myhost);
cluster = HFactory.getOrCreateCluster(CLUSTER, myhost + ":" + getProperties().getProperty("port"));
keyspace = HFactory.createKeyspace(getProperties().getProperty("schema"), cluster, new AllOneConsistencyLevelPolicy());
if (createKeyspace == null)
{
// Define column family...
BasicColumnFamilyDefinition columnFamilyDefinition = new BasicColumnFamilyDefinition();