cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject cassandra.yaml after a schema import
Date Mon, 23 Aug 2010 12:28:39 GMT
I think this may have been discussed before, but I cannot find any reference to it. Just wanted
to confirm how cassandra.yaml is used after the cluster is initialised. 

Start a clean install of 0.7b1, use jconsole to import the schema from yaml. Drain the node
and shut it down, then remove the cassandra.yaml file from /conf.  Try to start the node and
it fails with...


ERROR 00:11:57,088 Fatal error: Cannot locate cassandra.yaml on the classpath
Bad configuration; unable to start server

Put the file back and I get 
 WARN 00:16:32,367 Schema definitions were defined both locally and in cassandra.yaml. Definitions
in cassandra.yaml were ignored.

Similar situation if the yaml file is invalid. 

If the yaml file is ignored, is it right that it has to be there ? 

If so should I update http://wiki.apache.org/cassandra/FAQ#no_keyspaces and/or http://wiki.apache.org/cassandra/LiveSchemaUpdates
? 

Thanks
Aaron


Mime
View raw message