incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Coli <rc...@palominodb.com>
Subject Re: change cluster name
Date Thu, 09 Aug 2012 18:21:23 GMT
On Wed, Aug 8, 2012 at 10:28 PM, rajesh.bawal@orkash.com
<rajesh.bawal@orkash.com> wrote:
> i would suggest you delete the files in your system keyspace folder except
> files like Schema*.*.

This thread could have been much shorter with a judicious use of "grep", heh ...

<user@hostname># grep -i name /etc/cassandra/cassandra.yaml
cluster_name: 'QA Cass Cluster'

<user@hostname> # grep 'Cass Cluster' /mnt/cassandra/data/system/*
Binary file /mnt/cassandra/data/system/LocationInfo-hd-5-Data.db matches

Just remove "LocationInfo" files from the system keyspace when
changing Cluster Names. Nuking the other stuff is not necessary.

=Rob

-- 
=Robert Coli
AIM&GTALK - rcoli@palominodb.com
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb

Mime
View raw message