Astyanax does have some problems with cql3 but its making great progress. Create a new keyspace and use CQLv2 (by setting it in the context) and try it without the "
quotes:
String query = "ALTER KEYSPACE " + keyspaceName + " WITH REPLICATION = {
'class' : 'SimpleStrategy', 'replication_factor' : 2 };";
Note* in this query you are updating the rep factor to be 2.