Re: Issues getting JNA to work correctly under centos 5.5 using cassandra 0.7.0-rc1 and JNA 2.7.3

2010-11-25 Thread Jason Pell
I restarted the box :-) so it's well and truly set Sent from my iPhone On Nov 26, 2010, at 17:57, Brandon Williams wrote: > On Thu, Nov 25, 2010 at 10:02 PM, Jason Pell wrote: > Hi, > > I have set the memlock limit to unlimited in /etc/security/limits.conf > > [devel...@localhost apache-cas

Re: Issues getting JNA to work correctly under centos 5.5 using cassandra 0.7.0-rc1 and JNA 2.7.3

2010-11-25 Thread Brandon Williams
On Thu, Nov 25, 2010 at 10:02 PM, Jason Pell wrote: > Hi, > > I have set the memlock limit to unlimited in /etc/security/limits.conf > > [devel...@localhost apache-cassandra-0.7.0-rc1]$ ulimit -l > 0 > > Running as a non root user gets me a Unknown mlockall error 1 > Have you tried logging out a

Issues getting JNA to work correctly under centos 5.5 using cassandra 0.7.0-rc1 and JNA 2.7.3

2010-11-25 Thread Jason Pell
Hi, I have set the memlock limit to unlimited in /etc/security/limits.conf [devel...@localhost apache-cassandra-0.7.0-rc1]$ ulimit -l 0 Running as a non root user gets me a Unknown mlockall error 1 [devel...@localhost apache-cassandra-0.7.0-rc1]$ bin/cassandra [devel...@localhost apache-cassand

Re: Capacity problem with a lot of writes?

2010-11-25 Thread Carlos Alvarez
On Thu, Nov 25, 2010 at 9:09 PM, Peter Schuller wrote: >> My total data size is 2TB > > For the entire cluster? (I realized I was being ambiguous, I meant per node.) Yes, for the entire cluster. Regarding the multithreaded compaction, I'll look into the code and do my best. I think that compactio

Re: Capacity problem with a lot of writes?

2010-11-25 Thread Peter Schuller
>> When you say that it grows constantly, does that mean up to 30 or even >> farther? > > My total data size is 2TB For the entire cluster? (I realized I was being ambiguous, I meant per node.) > Actually, I never see the count stable.  When it reached 30 I thinked > "I am reaching the default up

Re: Capacity problem with a lot of writes?

2010-11-25 Thread Carlos Alvarez
> When you say that it grows constantly, does that mean up to 30 or even > farther? My total data size is 2TB Actually, I never see the count stable. When it reached 30 I thinked "I am reaching the default upper limit for a compaction, something went wrong" and I went back to 1GB memtables (also

Re: Can't get Cassandra to work on MAC 10.6.5

2010-11-25 Thread Paul Targett
Hi, just rebuilt from the source and all works now, many thanks. PT On 25 Nov 2010, at 16:18, Peter Schuller wrote: >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/cassandra/thrift/CassandraDaemon >> Caused by: java.lang.ClassNotFoundException: >> org.apache.cassand

Re: Capacity problem with a lot of writes?

2010-11-25 Thread Peter Schuller
> However, the point has to do with the fact Peter mentions. With smaller > memtables I see that minor compaction is unable to keep up with the writes. > The number of sstables grows constantly during my peaks hours. With 400MB > memtables the cluster is always compacting and the number of sstables

Re: Capacity problem with a lot of writes?

2010-11-25 Thread Carlos Alvarez
Thank you very much you both Jonathan and Peter. I will upgrade. However, the point has to do with the fact Peter mentions. With smaller memtables I see that minor compaction is unable to keep up with the writes. The number of sstables grows constantly during my peaks hours. With 400MB memtables

Re: Capacity problem with a lot of writes?

2010-11-25 Thread Peter Schuller
> When I decrease the memtable size I run into a minor compaction storm. By minor compaction storm, do you mean that compaction (whenever it runs) degrades your node performance too much and smaller sstables means this happens more often; or do you mean that compaction is not keeping up with write

Re: Capacity problem with a lot of writes?

2010-11-25 Thread Jonathan Ellis
You want your memtables "as large as is reasonable, but not too large." Sounds like yours are too large. As a first step, I would strongly recommend upgrading to 0.6.8 and reducing the compaction priority: http://www.riptano.com/blog/cassandra-annotated-changelog-063 On Thu, Nov 25, 2010 at 12:3

Capacity problem with a lot of writes?

2010-11-25 Thread Carlos Alvarez
Hello All. I am facing a (capacity?) problem in my eight nodes cluster running 0.6.2 patched with CASSANDRA-1014 and CASSANDRA-699. I have 200 writes/second on peaks (on each node, taking into account replication), with arow size of 35kb. I configured the memtable size to 1GB, the biggest size

Re: cassandra-cli no command working - mac osx

2010-11-25 Thread Marcin
Hi Hector, thank you very much for your help, it does the trick. cheers, /Marcin On 25/11/2010 17:27, Héctor Izquierdo Seliva wrote: That happened to me too. Try with a ; at the end of the line. El jue, 25-11-2010 a las 17:22 +, Marcin escribió: Hi guys, I am having weird problem, cas

Re: cassandra-cli no command working - mac osx

2010-11-25 Thread Héctor Izquierdo Seliva
That happened to me too. Try with a ; at the end of the line. El jue, 25-11-2010 a las 17:22 +, Marcin escribió: > Hi guys, > > I am having weird problem, cassandra is working but can't get > cassandra-cli to work. > > When I run command - any command like even help and hit error I am not

cassandra-cli no command working - mac osx

2010-11-25 Thread Marcin
Hi guys, I am having weird problem, cassandra is working but can't get cassandra-cli to work. When I run command - any command like even help and hit error I am not getting any response any ideas? P.S. Running Cassandra 0.7.0 RC1 cheers, /Marcin

Re: Can't get Cassandra to work on MAC 10.6.5

2010-11-25 Thread Peter Schuller
> Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/cassandra/thrift/CassandraDaemon > Caused by: java.lang.ClassNotFoundException: > org.apache.cassandra.thrift.CassandraDaemon Are you running from a checkout? Did you build it first? (I'm not sure whether that is where yo

Updating Cascal

2010-11-25 Thread Michael Fortin
Hello, I forked Cascal (Scala based client for cassandra) and I'm attempting to update it to cassandra 0.7. I have it partially working, but I'm getting stuck on a few areas. I have most of the unit tests working from the original code, but I'm having an issue with batch_mutate(keyToFamilyMut