incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim the Standing Bear <standingb...@gmail.com>
Subject Re: How to load schema non-programmatically? loadSchemaFromYAML doesn't work
Date Tue, 10 May 2011 20:59:01 GMT
Hi Anurag,

That was what I used, but it didn't seem to work.

On Tue, May 10, 2011 at 4:54 PM, Anurag Gujral <anurag.gujral@gmail.com> wrote:
> Use jconsole give your hostname:port (hostname,port on which cassandra is
> running)
> 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
>
> thanks
> A
>
> On Tue, May 10, 2011 at 1:16 PM, Jim the Standing Bear
> <standingbear@gmail.com> 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
>
>



-- 
--------------------------------------
Standing Bear Has Spoken
--------------------------------------

Mime
View raw message