Dear Wiki user,

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

The "GettingStarted" page has been changed by RonaldBradford.
The comment on this change is: Corrected OS X Java 6 location.
http://wiki.apache.org/cassandra/GettingStarted?action=diff&rev1=26&rev2=27

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

  
  The distribution's sample configuration `conf/storage-conf.xml` contains 
reasonable defaults for single node operation, but you will need to make sure 
that the paths exist for `CommitLogDirectory`, `DataFileDirectories`, 
`CalloutLocation`, `BootstrapFileDirectory`, and `StagingFileDirectory`. 
Additionally, take a minute now to look over the logging configuration in 
`conf/log4j.properties` and make sure that directories exist for the configured 
log file(s) as well.
  
- Some people running OS X have trouble getting Java 6 to work. If you've kept 
up with Apple's updates, Java 6 should already be installed (it comes in Mac OS 
X 10.5 Update 1). Unfortunately, Apple does not default to using it. What you 
have to do is change your `JAVA_HOME` environment setting to 
`/System/Library/Frameworks/JavaVM.framework/Versions/1.6` and add 
`/System/Library/Frameworks/JavaVM.framework/Versions/1.6/bin` to the beginning 
of your `PATH`.
+ Some people running OS X have trouble getting Java 6 to work. If you've kept 
up with Apple's updates, Java 6 should already be installed (it comes in Mac OS 
X 10.5 Update 1). Unfortunately, Apple does not default to using it. What you 
have to do is change your `JAVA_HOME` environment setting to 
`/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home` and add 
`/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin` to the 
beginning of your `PATH`.
  
  And now for the moment of truth, start up Cassandra by invoking 
`bin/cassandra -f` from the command line<<FootNote(To learn more about 
controlling the behavior of startup scripts, see RunningCassandra)>>. The 
service should start in the foreground and log gratuitously to standard-out. 
Assuming you don't see messages with scary words like "error", or "fatal", or 
anything that looks like a Java stack trace, then chances are you've succeeded. 
To be certain though, take some time to try out the examples in CassandraCli 
and ThriftInterface before moving on. Also, if you run into problems, Don't 
Panic, calmly proceed to [[#if_something_goes_wrong|If Something Goes Wrong]].
  

Reply via email to