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 89A6FD697 for ; Thu, 10 Jan 2013 09:27:30 +0000 (UTC) Received: (qmail 8053 invoked by uid 500); 10 Jan 2013 09:27:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 7765 invoked by uid 500); 10 Jan 2013 09:27:27 -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 7736 invoked by uid 99); 10 Jan 2013 09:27:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 09:27:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of arodrime@gmail.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 09:27:22 +0000 Received: by mail-vc0-f179.google.com with SMTP id p1so286205vcq.38 for ; Thu, 10 Jan 2013 01:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=HlMSaQUf/Cu56XSvqjqGysbwiogKSk3YmMuYDYDgIlM=; b=BtTh8rqgdIFvWM9hmhW/v5+uZg10IGbjlyL/BVZHjdCwrcQrbCU/qHBfvbHJKQ8Bn1 mgVfOI/h8xYX6bZY0XuiClzn0HHoluj/fvE+ZiyfJaZ5NHl6g0ascv6vuN85oCjA/CnF FqWNvlMWZInc28YRf8IQxKVXOK4DbFA7YvGGhCRPYQA3hBJRz8ro/qH3xPDbbBnuVLrn l98lysFi4RC4jUqBoSsIPgOobKswtHBFVcRMWDNYjdewQd37RwZl2LkNjifb/oA4oLEj 4/Zc0E1FOuiDH7D3MTmRpUmUNszklUKTsp5oj8Tn/hTSXLIhvNipgg5ezg0sC2AJ9mg1 1DHA== Received: by 10.52.173.207 with SMTP id bm15mr78727280vdc.88.1357810021866; Thu, 10 Jan 2013 01:27:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.249.3 with HTTP; Thu, 10 Jan 2013 01:26:41 -0800 (PST) In-Reply-To: <453016E0-DDBB-445E-979C-1CF94ADBEF9F@barracuda.com> References: <453016E0-DDBB-445E-979C-1CF94ADBEF9F@barracuda.com> From: Alain RODRIGUEZ Date: Thu, 10 Jan 2013 10:26:41 +0100 Message-ID: Subject: Re: change cluster name retaining keypsace To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=bcaec517ab4c069baf04d2ebc869 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec517ab4c069baf04d2ebc869 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 > 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" 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.lo= g > > On Wed, Jan 9, 2013 at 7:21 PM, aaron morton wro= te: > >> /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 > /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 > > Not sure what the effect of removing these files would be, but would doin= g > 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 > --bcaec517ab4c069baf04d2ebc869 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 mishan= dling risk.

Alain

2013/1/10 Michael Kjellman <mkjellman= @barracuda.com>
I think Arron meant /var/lib/cassandra (by default)<= /div>

Check there (unless you changed you data directori= es in your cassandra.yaml)

On Jan 9, 2= 013, 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 th= is 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 s= ystem. 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.lo= g
-rw-r--r-- 1 root root 12003809 Jan=A0 9 22:29 /var/log/cassandra/system.lo= g

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


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

[root@beta:~] #locate LocationInfo | grep -i=A0 -v -e backup -e nagios<= br>/var/lib/cassandra/data/system/LocationInfo-hd-249-Data.db
/var/lib/c= assandra/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/cas= sandra/data/system/LocationInfo-hd-249-Statistics.db
/var/lib/cassandra/= data/system/LocationInfo-hd-250-Data.db
/var/lib/cassandra/data/system/L= ocationInfo-hd-250-Digest.sha1
/var/lib/cassandra/data/system/LocationInfo-hd-250-Filter.db
/var/lib/ca= ssandra/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/d= ata/system/LocationInfo-hd-251-Index.db
/var/lib/cassandra/data/system/L= ocationInfo-hd-251-Statistics.db

Not sure what the effect of removing these files would be, but would do= ing so=A0 allow me to change my cluster name while retaining my keyspace sc= hema?

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
=A0=A0=AD=AD=A0=A0

--bcaec517ab4c069baf04d2ebc869--