Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "StorageConfiguration" page has been changed by JonHermes.
http://wiki.apache.org/cassandra/StorageConfiguration?action=diff&rev1=19&rev2=20

--------------------------------------------------

- Prior to the 0.7 release, Cassandra storage configuration is described by the 
''conf/storage-conf.xml'' file. As of 0.7, it is described by the  
''conf/cassandra.yaml'' file. As the syntax evolves with releases, this wiki 
page tries to document those changes using ''[New in X.Y: ....]'' lines.
+ Prior to the 0.7 release, Cassandra storage configuration is described by the 
''conf/storage-conf.xml'' file. As of 0.7, it is described by the  
''conf/cassandra.yaml'' file. 
+ 
+ == config-converter ==
+ To convert a working storage-conf.xml into yaml, bin/config-converter will 
complete a best-effort conversion. It assumes that your xml file is at 
conf/storage-conf.xml, and it will overwrite the file. Note though that the 
scope of many properties have changed (<EndPointSnitch> is global instead of 
per-KS, <GCGraceSeconds> is per-KS instead of global, etc.), so 
config-converter will not produce the exact same file.
  
  == -Dcassandra.config ==
- ''[New in 0.7:''
- 
  You can specify any configuration to load by passing a VM parameter to java 
when Cassandra starts up.  This is done by supplying a value to 
''-Dcassandra.conf=<your value here>''.  Values can include files located in 
the classpath or local and remote URLs.  Here are a few valid examples:
  ||'''Value'''||'''Implication'''||
  ||''-Dcassandra.config=alternate-cassandra.yaml''||loads 
''alternate-cassandra.yaml'' if it can be found in the cassandra classpath.||
  
||''-Dcassandra.config=&#104;ttp://www.example.com/remote-cassandra.yaml''||loads
 a configuration file from a remote host.||
  
||''-Dcassandra.config=&#102;ile:///home/me/external-local-cassandra.yaml''||loads
 a local configuration file that is not located in the cassandra classpath.||
- '']''
  
  == AutoBootstrap ==
  ''[New in 0.5:''

Reply via email to