Re: change cluster name retaining keypsace

2013-01-14 Thread aaron morton
cluster_name Restart node. Thanks, SC From: aa...@thelastpickle.com Subject: Re: change cluster name retaining keypsace Date: Thu, 10 Jan 2013 13:21:28 +1300 To: user@cassandra.apache.org To change the cluster name: 1) Stop all nodes. 2) Delete or move the LocationInfo sstables

RE: change cluster name retaining keypsace

2013-01-11 Thread S C
Subject: Re: change cluster name retaining keypsace Date: Thu, 10 Jan 2013 13:21:28 +1300 To: user@cassandra.apache.org To change the cluster name: 1) Stop all nodes. 2) Delete or move the LocationInfo sstables from /var/log/cassandra/data/system/LocationInfo3) Change the cluster_name

Re: change cluster name retaining keypsace

2013-01-10 Thread Alain RODRIGUEZ
By the way, The cluster name is only cosmetic. It may not be worth to change it since it induce a downtime and considering the mishandling risk. Alain 2013/1/10 Michael Kjellman mkjell...@barracuda.com I think Arron meant /var/lib/cassandra (by default) Check there (unless you changed you

Re: change cluster name retaining keypsace

2013-01-10 Thread aaron morton
I think Arron meant /var/lib/cassandra (by default) Yup, sorry. A - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 10/01/2013, at 4:38 PM, Michael Kjellman mkjell...@barracuda.com wrote: I think Arron meant

Re: change cluster name retaining keypsace

2013-01-10 Thread Tim Dunphy
Cool guys.. and thanks. I'll give this a shot. And I do understand it's a cosmetic issue. It's just an OCD little detail I want to correct before my cluster starts growing more nodes. :) On Thu, Jan 10, 2013 at 2:39 PM, aaron morton aa...@thelastpickle.comwrote: I think Arron meant

Re: change cluster name retaining keypsace

2013-01-10 Thread Tim Dunphy
Hey Aaron, That worked beautifully. Thank you sir! Tim On Thu, Jan 10, 2013 at 2:59 PM, Tim Dunphy bluethu...@gmail.com wrote: Cool guys.. and thanks. I'll give this a shot. And I do understand it's a cosmetic issue. It's just an OCD little detail I want to correct before my cluster starts

change cluster name retaining keypsace

2013-01-09 Thread Tim Dunphy
Hello, I'm attempting to change my cluster name, yet retain my keyspace as it was. I know from what I've read that this requires changing it within the cassandra cli (using system), changing it in the cassandra.yaml file, and deleting the contents of the /var/lib/cassandra/data/system directory.

Re: change cluster name retaining keypsace

2013-01-09 Thread aaron morton
To change the cluster name: 1) Stop all nodes. 2) Delete or move the LocationInfo sstables from /var/log/cassandra/data/system/LocationInfo 3) Change the cluster_name in cassandra.yaml 4) Restart the nodes. You cannot do an incremental change of the cluster name. All nodes in the cluster

Re: change cluster name retaining keypsace

2013-01-09 Thread Tim Dunphy
Hello, And thanks for your reply! Well so far it's just a single node. So I wouldn't think this should be so complicated. But one day hopefully from this node a cluster will grow, but that we shall have to wait and see. At any rate, at /var/log/cassandra I don't see a directory called system.

Re: change cluster name retaining keypsace

2013-01-09 Thread Michael Kjellman
I think Arron meant /var/lib/cassandra (by default) Check there (unless you changed you data directories in your cassandra.yaml) On Jan 9, 2013, at 7:36 PM, Tim Dunphy bluethu...@gmail.commailto:bluethu...@gmail.com wrote: Hello, And thanks for your reply! Well so far it's just a single node.