Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63E90DE44 for ; Tue, 18 Sep 2012 12:02:14 +0000 (UTC) Received: (qmail 58185 invoked by uid 500); 18 Sep 2012 12:02:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 58039 invoked by uid 500); 18 Sep 2012 12:02:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 56631 invoked by uid 99); 18 Sep 2012 12:02:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 12:02:07 +0000 Date: Tue, 18 Sep 2012 23:02:07 +1100 (NCT) From: "Ivan Sobolev (JIRA)" To: commits@cassandra.apache.org Message-ID: <2088428806.91939.1347969727649.JavaMail.jiratomcat@arcas> In-Reply-To: <769257495.91710.1347963967789.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4676) Can't delete/create a keyspace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Sobolev updated CASSANDRA-4676: ------------------------------------ Description: 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; was:The main question for me is what to try. Deletion/recreation of the keyspace is not possible for some reason and this prevents me from reinstalling OpsCenter(which I'd like to have). > 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 > > > 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; -- 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