Re: atomicity

2010-12-19 Thread Adi
On Sat, Dec 18, 2010 at 11:02 PM, Kevin Irwig wrote: > Hi, > > Say I have two processes on separate machines, and a Cassandra cluster over > several machines. If the first process writes (insert) to a column while > the > second process reads (get / get_slice / get_range_slices / others?) from >

Re: Read Latency Degradation

2010-12-19 Thread Daniel Doubleday
On 19.12.10 03:05, Wayne wrote: Rereading through everything again I am starting to wonder if the page cache is being affected by compaction. Oh yes ... http://chbits.blogspot.com/2010/06/lucene-and-fadvisemadvise.html https://issues.apache.org/jira/browse/CASSANDRA-1470 We have been heavily

Re: [SOLVED] Very high memory utilization (not caused by mmap on sstables)

2010-12-19 Thread Peter Schuller
> vic...@:~$ sudo ps aux | grep "cassandra" > cassandra     11034  0.2 22.9 1107772 462764 ?  Sl   Dec17   6:13 > /usr/bin/java -ea -Xms128M -Xmx512M -XX:+UseParNewGC -XX:+UseConcMarkSweepGC > -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 > -XX:CMSInitiatingOc

Re: atomicity

2010-12-19 Thread Peter Schuller
> Say I have two processes on separate machines, and a Cassandra cluster over > several machines. If the first process writes (insert) to a column while the > second process reads (get / get_slice / get_range_slices / others?) from that > column (say the consistency level is QUORUM if that makes a

Re: atomicity

2010-12-19 Thread Kevin Irwig
Thanks a lot, Peter. K. - Original Message From: Peter Schuller To: user@cassandra.apache.org Sent: Mon, 20 December, 2010 12:05:17 AM Subject: Re: atomicity > Say I have two processes on separate machines, and a Cassandra cluster over > several machines. If the first process writes (

Re: Read Latency Degradation

2010-12-19 Thread Peter Schuller
> Rereading through everything again I am starting to wonder if the page cache > is being affected by compaction. We have been heavily loading data for weeks > and compaction is basically running non-stop. The manual compaction should > be done some time tomorrow, so when totally caught up I will t

Re: Cassandra Monitoring

2010-12-19 Thread Peter Schuller
> How / what are you monitoring? Best practices someone? I recently set up monitoring using the cassandra-munin-plugins (https://github.com/jamesgolick/cassandra-munin-plugins). However, due to various little details that wasn't too fun to integrate properly with munin-node-configure and automated

Re: Cassandra Monitoring

2010-12-19 Thread Jonathan Ellis
mx4j? https://issues.apache.org/jira/browse/CASSANDRA-1068 On Sun, Dec 19, 2010 at 8:36 AM, Peter Schuller wrote: > > How / what are you monitoring? Best practices someone? > > I recently set up monitoring using the cassandra-munin-plugins > (https://github.com/jamesgolick/cassandra-munin-plugin

Re: Cassandra Monitoring

2010-12-19 Thread Ran Tavory
FYI, I just added an mx4j section to the bottom of this page http://wiki.apache.org/cassandra/Operations On Sun, Dec 19, 2010 at 4:30 PM, Jonathan Ellis wrote: > mx4j? https://issues.apache.org/jira/browse/CASSANDRA-1068 > > > On Sun, Dec 19, 2010 at 8:36 AM, Peter Schuller < > peter.schul...@i

Cassandra not able to listen to incoming commands from PHPcassa

2010-12-19 Thread Rajkumar Gupta
Hi I am using Cassandra 0.7 with PHPcassa on windows. I run the cassandra server from command prompt and then run my php script which include the phpcassa files, but my cassandra does not respond to the phpcassa calls. I get errors like phpcassa could not connect to cassandra server. My cassandra s

Re: Cassandra Monitoring

2010-12-19 Thread Ivan Ho
Another option is Evident ClearStone ( http://www.evidentsoftware.com/products/clearstone-for-cassandra/). It collects the Cassandra metrics via JMX as well. As long as one node in the cluster is configured, it'll find the rest of them. The UI is written in Adobe Flex. The Cassandra management pac

Re: Cassandra Monitoring

2010-12-19 Thread Dave Viner
How does mx4j compare with the earlier jmx-to-rest bridge listed in the operations page: "JMX-to-REST bridge available at http://code.google.com/p/polarrose-jmx-rest-bridge"; Thanks Dave Viner On Sun, Dec 19, 2010 at 7:01 AM, Ran Tavory wrote: > FYI, I just added an mx4j section to the bottom

Re: unsubscribe

2010-12-19 Thread Eric Evans
On Sat, 2010-12-18 at 23:56 +0200, Dorin Dragutoiu wrote: > http://goo.gl/xbyF2 -- Eric Evans eev...@rackspace.com

Re: Cassandra Monitoring

2010-12-19 Thread Adrian Cockcroft
I'm currently working to configure AppDynamics to monitor cassandra. It does byte-code instrumentation, so there is an agent added to the cassandra JVM, which gives the ability to capture latency for requests and see where the bottleneck is coming from. We have been using it on our other Java apps.

Re: Cassandra Monitoring

2010-12-19 Thread Ran Tavory
Mx4j is in process, same jvm, you just need to throw mx4j-tools.jar in the lib before you start Cassandra jmx-to-rest runs in a separate jvm. It also has a nice useful HTML interface that you can look into any running host. On Sunday, December 19, 2010, Dave Viner wrote: > How does mx4j compare

Re: Problem in using PHPcassa: Uncaught exception 'Exception' with message 'Could not connect to a cassandra server'

2010-12-19 Thread Aaron Morton
I've not used the PHP client, but you can test connectivity to your cluster using the cassandra-cli command line client in the bin/ folder. Also check the ThriftAddress setting in your storage-config, this address is the one that the server will be listening on. Set it to 0.0.0.0 to listen on a

Re: Problem in using PHPcassa: Uncaught exception 'Exception' with message 'Could not connect to a cassandra server'

2010-12-19 Thread Aaron Morton
Forgot to say, 0.0.0.0 is not a good idea in production... http://wiki.apache.org/cassandra/FAQ#cant_listen_on_ip_any On 20/12/2010, at 9:12 AM, Aaron Morton wrote: > I've not used the PHP client, but you can test connectivity to your cluster > using the cassandra-cli command line client in th

Re: atomicity

2010-12-19 Thread Aaron Morton
You need to keep on trying till it works :) http://wiki.apache.org/cassandra/FAQ#batch_mutate_atomic Aaron On 20/12/2010, at 2:18 AM, Kevin Irwig wrote: > Thanks a lot, Peter. > K. > > > > - Original Message > From: Peter Schuller > To: user@cassandra.apache.org > Sent: Mon, 20 Dec

Re: [SOLVED] Very high memory utilization (not caused by mmap on sstables)

2010-12-19 Thread Victor Kabdebon
Hello Peter, So more information on that problem : Yes I am using this node with very few data, it is used to design requests so I don't need a very large dataset. I am running Apache Cassandra 0.6.6 on a Debian Stable, with java version "1.6.0_22". I recently restarted cassandra, thus I have thi

Re: Installing Cassandra on windows

2010-12-19 Thread Nick Santini
glad that helped, about the other issue i wont be able to assist you, im using cassandra on C# with thrift directly, might be some missconfiguration in your client Nicolas Santini On Fri, Dec 17, 2010 at 6:09 PM, Rajkumar Gupta wrote: > Thanks a ton Nicolas! This helped..its working now :) >

Re: Cassandra not able to listen to incoming commands from PHPcassa

2010-12-19 Thread Jonathan Ellis
Sounds like you're not connecting to the right ip/port. On Sun, Dec 19, 2010 at 10:10 AM, Rajkumar Gupta wrote: > Hi > I am using Cassandra 0.7 with PHPcassa on windows. > I run the cassandra server from command prompt and then run my php > script which include the phpcassa files, but my cassandr

Re: Cassandra Monitoring

2010-12-19 Thread Edward Capriolo
On Sun, Dec 19, 2010 at 2:01 PM, Ran Tavory wrote: > Mx4j is in process, same jvm, you just need to throw mx4j-tools.jar in > the lib before you start Cassandra jmx-to-rest runs in a separate jvm. >  It also has a nice useful HTML interface that you can look into any > running host. > > On Sunday,

Re: Cassandra Monitoring

2010-12-19 Thread Dave Viner
Can you share the code for run_column_family_stores.sh ? On Sun, Dec 19, 2010 at 6:14 PM, Edward Capriolo wrote: > On Sun, Dec 19, 2010 at 2:01 PM, Ran Tavory wrote: > > Mx4j is in process, same jvm, you just need to throw mx4j-tools.jar in > > the lib before you start Cassandra jmx-to-rest runs

Re: Problem in using PHPcassa: Uncaught exception 'Exception' with message 'Could not connect to a cassandra server'

2010-12-19 Thread Rajkumar Gupta
I am able to connect to cassandra through cassandra-cli command at command prompt but not through my php script. I also checked after changing the rpc address to 0.0.0.0 in cassandra.yaml file but it still does not work! On Mon, Dec 20, 2010 at 1:47 AM, Aaron Morton wrote: > Forgot to say, 0.0.0

Re: Problem in using PHPcassa: Uncaught exception 'Exception' with message 'Could not connect to a cassandra server'

2010-12-19 Thread Nick Bailey
It would probably help if you posted the code you are trying to use from your php script. I don't know much about the php client but I now someone on this list does. On Sun, Dec 19, 2010 at 10:55 PM, Rajkumar Gupta wrote: > I am able to connect to cassandra through cassandra-cli command at > comm