cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Gujral <>
Subject Re: How to load schema non-programmatically? loadSchemaFromYAML doesn't work
Date Tue, 10 May 2011 20:54:59 GMT
Use jconsole give your hostname:port (hostname,port on which cassandra is
then from the MBean select storage service . On the storage service MBean
execute operation loadSchemaFromXML();

You may have to change the hostname in the your cassandra jmx settings


On Tue, May 10, 2011 at 1:16 PM, Jim the Standing Bear <> wrote:

> Hi,
> I am just learning Cassandra at the moment.  The O'Reilly book on
> Cassandra says that I should be able to add the keyspace schema
> definition to cassandra.yaml and then invoke loadSchemaFromYAML() to
> load it.  I tried that but it didn't work (and I do realize this book
> is a bit obsolete now).  Another post that I read says keyspace
> definition in cassandra.yaml is ignored because cassandra now supports
> programmatically loading schema.  However, I still would like to know
> if there is a way to load it non-programmatically.  Thanks.
> -- Jim

View raw message