Re: How to load schema non-programmatically? loadSchemaFromYAML doesn't work

2011-05-10 Thread Jim the Standing Bear
Hi Praveen, > The import only works on fresh system > and imports from cassandra.yaml file. Thanks for this information. What do you mean by a fresh system? A system that was just installed, configured, and launched, with no any other user-defined keyspaces? So in other words, I can only add o

Re: How to load schema non-programmatically? loadSchemaFromYAML doesn't work

2011-05-10 Thread Jim the Standing Bear
Bean > 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 > wrote: >> >> Hi, >> >> I am just learning Cassandra at the

How to load schema non-programmatically? loadSchemaFromYAML doesn't work

2011-05-10 Thread Jim the Standing Bear
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).