I got the idea for this from:
http://wiki.apache.org/cassandra/StorageConfiguration

I put my keyspace setup on a webserver, and I pull it into the config like this:

storage-conf.xml  starts with:

<!DOCTYPE storage [
<!-- include all these entities from external files-->
<!ENTITY seeds          SYSTEM "http://cassandraconfig /seeds.xml">
<!ENTITY autobootstrap  SYSTEM "http://cassandraconfig /autobootstrap.xml">
<!ENTITY bumblekeyspace SYSTEM "http://cassandraconfig /bumblekeyspace.xml">
<!ENTITY listenaddress  SYSTEM "listenaddress.xml">
<!ENTITY directories    SYSTEM "directories.xml">
]>

Then further down:
  <Keyspaces>
    &bumblekeyspace;
  </Keyspaces>

I didn't want to have to edit lots of files....


From: yaw [mailto:yawy...@gmail.com]
Sent: Friday, April 02, 2010 10:55 AM
To: user@cassandra.apache.org
Subject: Re: best practice for migrating data

Hi all,
this tells us to stop and start Cassandra ...
I hope  we are not asked to  stop whole cluster ... Can we proceed node after 
node  ?

( But how cluster  could handle different config.xml files ?)



2010/4/2 Gary Dusbabek <gdusba...@gmail.com<mailto:gdusba...@gmail.com>>
AJ,

The wiki gives an outline of how to do this:
http://wiki.apache.org/cassandra/FAQ#modify_cf_config

Gary

On Thu, Apr 1, 2010 at 23:18, AJ Chen 
<ajc...@web2express.org<mailto:ajc...@web2express.org>> wrote:
> when adding/changing a column to a column family for existing data in
> cassandra, what's a good way to do it?
> thanks,
> -aj--
> AJ Chen, PhD
> Chair, Semantic Web SIG, sdforum.org<http://sdforum.org/>
> http://web2express.org<http://web2express.org/>
> twitter @web2express
> Palo Alto, CA, USA
>

Reply via email to