incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: unable to start cassandra-0.7r2
Date Mon, 13 Dec 2010 22:55:37 GMT
On Mon, Dec 13, 2010 at 5:45 PM, Eric Evans <eevans@rackspace.com> wrote:
> On Mon, 2010-12-13 at 17:27 -0500, Liangzhao Zeng wrote:
>> I can run the 0.66 using same logging setup without any problem. Not
>> sure what's the difference when starting up the 0.7 in eclipse. Can
>> someone share the logging setup?
>
> Make sure that you have -Dlog4j.configuration=log4j-server.properties
> among your VM arguments and that conf/ (assuming that's where you have
> it) has been added to the classpath.  Since you say this worked with
> 0.6.6 and doesn't with 0.7, I'm guessing the latter is already in place
> and the former is the problem.
>
> --
> Eric Evans
> eevans@rackspace.com
>
>

I am not sure about the logging but cassandra.config should now be a
URI to your cassandra.yaml not your storage-dir. Mine looks like this.

-Dcom.sun.management.jmxremote.port=8888
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcassandra-foreground
-Dcassandra.config=file:///home/edward/idea/conf/cassandra.yaml -ea
-Xmx1G

Mime
View raw message