} else {
hostname = DEFAULT_CASSANDRA_HOST;
cqlPort = parameters.getTyped(CASSANDRA_CQL_PORT);
}
final Cluster cluster = createCluster(hostname, cqlPort, parameters);
createKeyspaceIfNeeded(cluster, keyspaceName, keyspaceDurableWrite);
if (nativeSessionOnly) {
REPOSITORY.addNewSessionToKeyspace(keyspaceName, cluster.connect(keyspaceName));
} else {
Session nativeSession = cluster.connect(keyspaceName);
achillesParameters.put(ConfigurationParameters.NATIVE_SESSION, nativeSession);
achillesParameters.put(ConfigurationParameters.KEYSPACE_NAME, keyspaceName);
if (!achillesParameters.containsKey(ConfigurationParameters.FORCE_TABLE_CREATION)) {
achillesParameters.put(ConfigurationParameters.FORCE_TABLE_CREATION, true);
}