<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Unable to use or delete existing keyspace with capital letters in name</title>
		<link>http://www.datastax.com/support-forums/topic/unable-to-use-or-delete-existing-keyspace-with-capital-letters-in-name</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 11:42:52 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/unable-to-use-or-delete-existing-keyspace-with-capital-letters-in-name" rel="self" type="application/rss+xml" />

		<item>
			<title>jpotter on "Unable to use or delete existing keyspace with capital letters in name"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-use-or-delete-existing-keyspace-with-capital-letters-in-name#post-8048</link>
			<pubDate>Fri, 21 Dec 2012 03:58:03 +0000</pubDate>
			<dc:creator>jpotter</dc:creator>
			<guid isPermaLink="false">8048@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Ah, that makes sense; thanks Nick.&#60;/p&#62;
&#60;p&#62;I've issued the drop command, but the keyspace is still listed in &#34;select * from system.schema_keyspaces;&#34; a few minutes later; nothing jumps out in the error logs. I'll take another pass at it tomorrow; regardless; this issue -- case sensitivity -- is definitely resolved.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "Unable to use or delete existing keyspace with capital letters in name"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-use-or-delete-existing-keyspace-with-capital-letters-in-name#post-8032</link>
			<pubDate>Thu, 20 Dec 2012 16:03:45 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">8032@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Because cql3 is case insensitive you will need to use quotes.&#60;/p&#62;
&#60;p&#62;drop keyspace &#34;OpsCenter&#34;;&#60;/p&#62;
&#60;p&#62;I'll also just let you know that OpsCenter is compatible with bare Apache Cassandra as well as the DataStax distributions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jpotter on "Unable to use or delete existing keyspace with capital letters in name"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-use-or-delete-existing-keyspace-with-capital-letters-in-name#post-8031</link>
			<pubDate>Thu, 20 Dec 2012 16:00:09 +0000</pubDate>
			<dc:creator>jpotter</dc:creator>
			<guid isPermaLink="false">8031@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;We're running a cluster of cassandra 1.1.4 (that was initially started as a 1.0.x cluster) that has a keyspace, OpsCode, from when we first started using DSE (but had to switch to apache cassandra for features in 1.1.x that we needed).&#60;/p&#62;
&#60;p&#62;In trying to track down another issue, I'm noticing that we have an old keyspace, OpsCode, that I can't access or drop.&#60;/p&#62;
&#60;p&#62;While it's &#34;probably&#34; harmless to leave around, I'd rather clean it up, but am not sure how to do this safely -- the only guess I'd venture is to shut down the cluster, remove the keyspace's directory, and restart it -- but no idea if this is sane at all.&#60;/p&#62;
&#60;p&#62;Suggestions?&#60;/p&#62;
&#60;p&#62;cqlsh&#38;gt; select * from system.schema_keyspaces;&#60;br /&#62;
 keyspace  &#124; durable_writes &#124; name      &#124; strategy_class                                       &#124; strategy_options&#60;br /&#62;
-----------+----------------+-----------+------------------------------------------------------+----------------------------&#60;br /&#62;
 OpsCenter &#124;           True &#124; OpsCenter &#124;          org.apache.cassandra.locator.SimpleStrategy &#124; {&#34;replication_factor&#34;:&#34;2&#34;}&#60;br /&#62;
...&#60;/p&#62;
&#60;p&#62;cqlsh&#38;gt; use OpsCenter;&#60;br /&#62;
Bad Request: Keyspace 'opscenter' does not exist&#60;/p&#62;
&#60;p&#62;cqlsh&#38;gt; drop keyspace OpsCenter;&#60;br /&#62;
Bad Request: org.apache.cassandra.config.ConfigurationException: Cannot drop non existing keyspace 'opscenter'.&#60;/p&#62;
&#60;p&#62;ls -l data/OpsCenter/&#60;br /&#62;
total 32&#60;br /&#62;
drwxr-xr-x 3 app app 4096 2012-12-20 06:41 events&#60;br /&#62;
drwxr-xr-x 3 app app 4096 2012-12-20 06:41 events_timeline&#60;br /&#62;
drwxr-xr-x 2 app app 4096 2012-10-29 00:24 pdps&#60;br /&#62;
drwxr-xr-x 2 app app 4096 2012-10-29 00:24 rollups300&#60;br /&#62;
drwxr-xr-x 2 app app 4096 2012-10-29 00:24 rollups60&#60;br /&#62;
drwxr-xr-x 2 app app 4096 2012-10-29 00:24 rollups7200&#60;br /&#62;
drwxr-xr-x 2 app app 4096 2012-10-29 00:24 rollups86400&#60;br /&#62;
drwxr-xr-x 2 app app 4096 2012-10-29 00:24 settings
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
