From user-return-31030-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Thu Jan 10 19:40:11 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76460EC31 for ; Thu, 10 Jan 2013 19:40:11 +0000 (UTC) Received: (qmail 10800 invoked by uid 500); 10 Jan 2013 19:40:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 10781 invoked by uid 500); 10 Jan 2013 19:40:08 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 10773 invoked by uid 99); 10 Jan 2013 19:40:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 19:40:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a57.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 19:40:02 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 9915C208070 for ; Thu, 10 Jan 2013 11:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=XD5Q0ogMlYErcYW2EX2WZAPVFC A=; b=MfqvnXh+QffBICHSwQaZYmuRHHEbmX9b7qcJC+w3RJxc87uVs4gNWLEIo4 5MXgfkK3SiD6J4oKYChcXdRAtLERUGWSZ0KrQ76hpPJPtW19h3rqLiGqoWZJYC5T TeaWs1hAbSTB2uusdEIhT++LjyDVW9azGW40ZPDCN7VAx/hAE= Received: from [172.16.1.8] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTPSA id 10E3920806D for ; Thu, 10 Jan 2013 11:39:35 -0800 (PST) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_A7934F23-1211-4B6A-A886-103B52943649" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: change cluster name retaining keypsace Date: Fri, 11 Jan 2013 08:39:38 +1300 References: <453016E0-DDBB-445E-979C-1CF94ADBEF9F@barracuda.com> To: user@cassandra.apache.org In-Reply-To: <453016E0-DDBB-445E-979C-1CF94ADBEF9F@barracuda.com> X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_A7934F23-1211-4B6A-A886-103B52943649 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > I think Arron meant /var/lib/cassandra (by default) Yup, sorry.=20 A ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 10/01/2013, at 4:38 PM, Michael Kjellman = wrote: > I think Arron meant /var/lib/cassandra (by default) >=20 > Check there (unless you changed you data directories in your = cassandra.yaml) >=20 > On Jan 9, 2013, at 7:36 PM, "Tim Dunphy" wrote: >=20 >> Hello,=20 >>=20 >> 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.=20= >>=20 >> At any rate, at /var/log/cassandra I don't see a directory called = system. All I see is a system log (a bunch of them rotated, I won't show = the rotated logs: >>=20 >> [root@beta:~] #ls -l /var/log/cassandra/system.log >> -rw-r--r-- 1 root root 12003809 Jan 9 22:29 = /var/log/cassandra/system.log >>=20 >> On Wed, Jan 9, 2013 at 7:21 PM, aaron morton = wrote: >> /var/log/cassandra/data/system/LocationInfo >>=20 >>=20 >> The only LocationInfo files I see pertaining to cassandra are here: >>=20 >> [root@beta:~] #locate LocationInfo | grep -i -v -e backup -e nagios >> /var/lib/cassandra/data/system/LocationInfo-hd-249-Data.db >> /var/lib/cassandra/data/system/LocationInfo-hd-249-Digest.sha1 >> /var/lib/cassandra/data/system/LocationInfo-hd-249-Filter.db >> /var/lib/cassandra/data/system/LocationInfo-hd-249-Index.db >> /var/lib/cassandra/data/system/LocationInfo-hd-249-Statistics.db >> /var/lib/cassandra/data/system/LocationInfo-hd-250-Data.db >> /var/lib/cassandra/data/system/LocationInfo-hd-250-Digest.sha1 >> /var/lib/cassandra/data/system/LocationInfo-hd-250-Filter.db >> /var/lib/cassandra/data/system/LocationInfo-hd-250-Index.db >> /var/lib/cassandra/data/system/LocationInfo-hd-250-Statistics.db >> /var/lib/cassandra/data/system/LocationInfo-hd-251-Data.db >> /var/lib/cassandra/data/system/LocationInfo-hd-251-Digest.sha1 >> /var/lib/cassandra/data/system/LocationInfo-hd-251-Filter.db >> /var/lib/cassandra/data/system/LocationInfo-hd-251-Index.db >> /var/lib/cassandra/data/system/LocationInfo-hd-251-Statistics.db >>=20 >> Not sure what the effect of removing these files would be, but would = doing so allow me to change my cluster name while retaining my keyspace = schema? >>=20 >> Thanks! >>=20 >> Tim >>=20 >>=20 >>=20 >> --=20 >> GPG me!! >>=20 >> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>=20 >=20 > ----------------------------------=20 > Join Barracuda Networks in the fight against hunger. > To learn how you can help in your community, please visit: = http://on.fb.me/UAdL4f > =AD=AD =20 --Apple-Mail=_A7934F23-1211-4B6A-A886-103B52943649 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
I think Arron meant = /var/lib/cassandra (by default)
Yup, sorry. 
A

http://www.thelastpickle.com

On 10/01/2013, at 4:38 PM, Michael Kjellman <mkjellman@barracuda.com> = wrote:

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" = <bluethundr@gmail.com> = wrote:

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. All I see is a system log (a bunch of them rotated, I won't show = the rotated logs:

[root@beta:~] #ls -l = /var/log/cassandra/system.log
-rw-r--r-- 1 root root 12003809 Jan  9 22:29 = /var/log/cassandra/system.log

On Wed, = Jan 9, 2013 at 7:21 PM, aaron morton <aaron@thelastpickle.com> wrote:
/var/log/cassandra/data/system/LocationInfo


The only LocationInfo files I see pertaining to = cassandra are here:

[root@beta:~] #locate LocationInfo | grep -i  -v -e backup -e = nagios
/var/lib/cassandra/data/system/LocationInfo-hd-249-Data.db
/v= ar/lib/cassandra/data/system/LocationInfo-hd-249-Digest.sha1
/var/lib/c= assandra/data/system/LocationInfo-hd-249-Filter.db
= /var/lib/cassandra/data/system/LocationInfo-hd-249-Index.db
/var/lib/ca= ssandra/data/system/LocationInfo-hd-249-Statistics.db
/var/lib/cassandr= a/data/system/LocationInfo-hd-250-Data.db
/var/lib/cassandra/data/syste= m/LocationInfo-hd-250-Digest.sha1
= /var/lib/cassandra/data/system/LocationInfo-hd-250-Filter.db
/var/lib/c= assandra/data/system/LocationInfo-hd-250-Index.db
/var/lib/cassandra/da= ta/system/LocationInfo-hd-250-Statistics.db
/var/lib/cassandra/data/sys= tem/LocationInfo-hd-251-Data.db
= /var/lib/cassandra/data/system/LocationInfo-hd-251-Digest.sha1
/var/lib= /cassandra/data/system/LocationInfo-hd-251-Filter.db
/var/lib/cassandra= /data/system/LocationInfo-hd-251-Index.db
/var/lib/cassandra/data/syste= m/LocationInfo-hd-251-Statistics.db

Not sure what the effect of removing these files would be, but would = doing so  allow me to change my cluster name while retaining my = keyspace schema?

Thanks!

Tim



--=
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys = F186197B


----------------------------------
Join Barracuda Networks in the fight against hunger.
To learn how you can help in your community, please visit: http://on.fb.me/UAdL4f
  =AD=AD  

= --Apple-Mail=_A7934F23-1211-4B6A-A886-103B52943649--