The export dumps to the console. The import only works on fresh system and imports from cassandra.yaml file.
Praveen On 5/10/11 1:59 PM, "Jim the Standing Bear" <standingb...@gmail.com> wrote: >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.guj...@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 >> <standingb...@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 >-------------------------------------- >