incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: change cluster name retaining keypsace
Date Thu, 10 Jan 2013 19:39:38 GMT
> 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 <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
>> /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 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
>   ­­  


Mime
View raw message