You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/08/24 18:16:45 UTC
[Cassandra Wiki] Update of "StorageConfiguration" by gdusbabek
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 gdusbabek.
The comment on this change is: Documented -Dcassandra.config usage.
http://wiki.apache.org/cassandra/StorageConfiguration?action=diff&rev1=18&rev2=19
--------------------------------------------------
- Cassandra storage configuration is described by the ''conf/storage-conf.xml'' 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. As the syntax evolves with releases, this wiki page tries to document those changes using ''[New in X.Y: ....]'' lines.
+
+ == -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=http://www.example.com/remote-cassandra.yaml''||loads a configuration file from a remote host.||
+ ||''-Dcassandra.config=file:///home/me/external-local-cassandra.yaml''||loads a local configuration file that is not located in the cassandra classpath.||
+ '']''
== AutoBootstrap ==
''[New in 0.5:''