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 2011/02/01 00:14:10 UTC

[Cassandra Wiki] Update of "RunningCassandraInEclipse" by JoaquinCasares

Dear Wiki user,

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

The "RunningCassandraInEclipse" page has been changed by JoaquinCasares.
http://wiki.apache.org/cassandra/RunningCassandraInEclipse?action=diff&rev1=17&rev2=18

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

  Now the errors should be gone and you are ready to create a run/debug configuration for cassandra.
  
  Click "Run" -> "Run Configurations...". Select org.apache.cassandra.thrift.CassandraDaemon as you Main class, make sure that your cassandra project is selected in the "Project" field.
- Under the Arguments tab you can specify VM arguments. Below is my complete Vm arguments list:
+ Under the Arguments tab you can specify VM arguments. Below is my complete VM arguments list for Cassandra 0.6:
  
  {{{
  -Dstorage-config=/Users/schildmeijer/Documents/workspace/cassandra/conf/
  -Dcassandra-foreground 
  -ea -Xmx1G
+ }}}
+ 
+ Below are another set of VM arguments for running Cassandra 0.7+ in Windows. Notice that for config file property has changed to cassandra.config from storage-config in 0.6 and that all the files need to have file: perpended in Windows.
+ {{{
+ -Dcassandra.config=file:C:\Users\Joaquin\workspace\cassandra-3\conf\cassandra.yaml
+ -Dcassandra-foreground 
+ -ea -Xmx1G
+ -Dlog4j.configuration=file:C:\Users\Joaquin\workspace\cassandra-3\conf\log4j-server.properties
  }}}
  
  Make sure to change the storage-config property so it defines the path to your storage-conf.xml file.