cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinpei Ohtani <shinpei.oht...@gmail.com>
Subject Re: getting cassandra setup on windows 7
Date Fri, 23 Apr 2010 03:02:23 GMT
Hi,

You should do at least these:
1.open conf/storage-conf.xml and set commitlog/data directory settings
2.open conf/log4j.properties and set log directory whichever you want
3.I recommend to set c:\java\cassandra\apache-cassandra-0.6.1/ as
%CASSANDRA_HOME% to your class path.
4.Also I recommend to change JMX port which is described at
bin/cassandra.bat from 8080 to other,
this might be problem when you are using Tomcat.

Just mention about 1 and 2, these files are readonly so you should
change to be writable before editing.
(I think these conf files should not be readonly...)

Hope this helps,
===
Shinpei

On Fri, Apr 23, 2010 at 11:53 AM, S Ahmed <sahmed1020@gmail.com> wrote:
> So I uncompressed the .tar, in the readme it says:
> * tar -zxvf cassandra-$VERSION.tgz
>   * cd cassandra-$VERSION
>   * sudo mkdir -p /var/log/cassandra
>   * sudo chown -R `whoami` /var/log/cassandra
>   * sudo mkdir -p /var/lib/cassandra
>   * sudo chown -R `whoami` /var/lib/cassandra
>
> My cassandra is at:
> c:\java\cassandra\apache-cassandra-0.6.1/
> So I have to create 2 folders log and lib?
> Is there a setting in a config file that I edit?



-- 
=============================
Shinpei Ohtani
mail    : shinpei.ohtani@gmail.com
blog    : http://d.hatena.ne.jp/shot6/
twitter : http://twitter.com/shot6
=============================

Mime
View raw message