[ 
https://issues.apache.org/jira/browse/CASSANDRA-4676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Sobolev updated CASSANDRA-4676:
------------------------------------

    Description: 
Deletion/recreation of the keyspace was not possible.

*Workaround:*

use system;
set schema_keyspaces['OpsCenter']['durable_writes']=true;
set schema_keyspaces['OpsCenter']['strategy_options']='{"datacenter1":"1"}';
set schema_keyspaces['OpsCenter']['name']='OpsCenter';
set 
schema_keyspaces['OpsCenter']['strategy_class']='org.apache.cassandra.locator.NetworkTopologyStrategy';
drop keyspace OpsCenter;

  was:
The main question for me is what to try. Deletion/recreation of the keyspace 
was not possible.

*Workaround:*

use system;
set schema_keyspaces['OpsCenter']['durable_writes']=true;
set schema_keyspaces['OpsCenter']['strategy_options']='{"datacenter1":"1"}';
set schema_keyspaces['OpsCenter']['name']='OpsCenter';
set 
schema_keyspaces['OpsCenter']['strategy_class']='org.apache.cassandra.locator.NetworkTopologyStrategy';
drop keyspace OpsCenter;

    
> Can't delete/create a keyspace
> ------------------------------
>
>                 Key: CASSANDRA-4676
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4676
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: CentOs 5.5.
> Cassandra 1.0.6-->1.1.5
>            Reporter: Ivan Sobolev
>         Attachments: cassandra-cli.txt, cassandra-ex.txt
>
>
> Deletion/recreation of the keyspace was not possible.
> *Workaround:*
> use system;
> set schema_keyspaces['OpsCenter']['durable_writes']=true;
> set schema_keyspaces['OpsCenter']['strategy_options']='{"datacenter1":"1"}';
> set schema_keyspaces['OpsCenter']['name']='OpsCenter';
> set 
> schema_keyspaces['OpsCenter']['strategy_class']='org.apache.cassandra.locator.NetworkTopologyStrategy';
> drop keyspace OpsCenter;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to