cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "StorageConfiguration" by gdusbabek
Date Tue, 24 Aug 2010 16:16:45 GMT
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=&#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:''

Mime
View raw message