Re: Can't start cassandra

2010-04-18 Thread Soichi Hayashi
> commitlog must be pointed to a directory that _only_ has commitlog data in it This was exactly it.. I was outputting log4j.properties log on /log directory which I have created to store commitlog - also. I apologize if this is documented in the tutorial somewhere! On Sun, Apr 18, 2010 at 9:07 P

Re: Can't start cassandra

2010-04-18 Thread Jonathan Ellis
Ha! Nice catch. Yes, commitlog must be pointed to a directory that _only_ has commitlog data in it. On Sun, Apr 18, 2010 at 7:27 PM, Brandon Williams wrote: > On Sun, Apr 18, 2010 at 4:30 PM, Soichi Hayashi > wrote: >> >>  INFO 21:27:29,482 Replaying >> /home/hayashis/app/apache-cassandra-0.6.

Re: Can't start cassandra

2010-04-18 Thread Brandon Williams
On Sun, Apr 18, 2010 at 4:30 PM, Soichi Hayashi wrote: > INFO 21:27:29,482 Replaying > /home/hayashis/app/apache-cassandra-0.6.0/log/log.txt > java.lang.OutOfMemoryError: Java heap space > I'm not sure what log.txt might be, but based on the filename it is not a Cassandra commitlog. You can pro

Re: Can't start cassandra

2010-04-18 Thread Jonathan Ellis
You have a corrupt commitlogheader. The easiest fix is deleting the commitlog segment in question. I created https://issues.apache.org/jira/browse/CASSANDRA-999 to add checksumming to the commitlog headers (to detect log segments that didn't fsync cleanly), but that wouldn't help in your case bec

Re: Can't start cassandra

2010-04-18 Thread Soichi Hayashi
Ah.. Thanks for the great tip! I tried decreasing it and tried various combination (including the one you have suggested) but I am still getting the same error message. Following is the /prop/meminfo on the machine that I am using. 2010-04-18 23:56:54 UTC [r...@data-itb:/usr/local/apache-cassandr

Re: Can't start cassandra

2010-04-18 Thread Benjamin Black
If you are trying to run on machines with less than 1GB of memory, or OS resource limits that prevent allocation of 1GB of memory, that is what happens. You shouldn't be increasing -Xms, you should be decreasing -Xmx. Try -Xms16M -Xmx500M. b On Sun, Apr 18, 2010 at 2:30 PM, Soichi Hayashi wro

Can't start cassandra

2010-04-18 Thread Soichi Hayashi
Hi. I just downloaded Cassandra 0.6.0 and followed "Getting Started" tutorial. When I try to start up Cassandra, I get following error message. 2010-04-18 20:53:39 UTC [hayas...@data-itb:~/app/apache-cassandra-0.6.0]$ ./bin/cassandra -f INFO 21:27:29,127 Auto DiskAccessMode determined to be mma