cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Sobolev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4676) Can't delete/create a keyspace
Date Tue, 18 Sep 2012 12:02:07 GMT

     [ 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

Mime
View raw message