Re: Easy way to overload a single node on purpose?

2011-06-16 Thread Suan Aik Yeo
f you install mx4j you can access the JMX metrics via HTTP, > > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 16 Jun 2011, at 10:38, Suan Aik Yeo wrote: > > > Here's a weird

Re: Is there a way from a running Cassandra node to determine whether or not itself is "up"?

2011-06-15 Thread Suan Aik Yeo
t;public List getLiveNodes(); > > Hope that helps. > > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 9 Jun 2011, at 17:56, Suan Aik Yeo wrote: > > > Is there a way (preferably an exposed method acces

Easy way to overload a single node on purpose?

2011-06-15 Thread Suan Aik Yeo
Here's a weird one... what's the best way to get a Cassandra node into a "half-crashed" state? We have a 3-node cluster running 0.7.5. A few days ago this happened organically to node1 - the partition the commitlog was on was 100% full and there was a "No space left on device" error, and after a w

Is there a way from a running Cassandra node to determine whether or not itself is "up"?

2011-06-08 Thread Suan Aik Yeo
Is there a way (preferably an exposed method accessible through Thrift), from a running Cassandra node to determine whether or not itself is "up"? (Per Cassandra standards, I'm assuming based on the gossip protocol). Another way to think of what I'm looking for is basically running "nodetool ring"

Re: How to make use of Cassandra raw row keys?

2011-05-25 Thread Suan Aik Yeo
ions=[data]) > > > You can tell the CLI what data type the keys are, see the assume statement. > e.g. assume my_cf keys as ascii; Will tell the cli to convert them back to > ascii for you. > > Hope that helps. > > - > Aaron Morton > Freelance Cassandr

How to make use of Cassandra raw row keys?

2011-05-24 Thread Suan Aik Yeo
We're using Cassandra to store our sessions, all in a single column family "Sessions" with the format: Sessions['session_key'] = {'val': } (session_key is a randomly generated hash) The "raw" keys I'm talking about are for example the 'key' value as seen from Cassandra DEBUG output: insert writing

Re: logged out: #

2011-05-09 Thread Suan Aik Yeo
Ah, must be the status check that I set up. Thanks! On Mon, May 9, 2011 at 7:42 PM, Tyler Hobbs wrote: > It just means a client connection was closed. > > > On Mon, May 9, 2011 at 5:41 PM, Suan Aik Yeo wrote: > >> I have a Cassandra 0.7.0, 3 node cluster with loggin

logged out: #

2011-05-09 Thread Suan Aik Yeo
I have a Cassandra 0.7.0, 3 node cluster with logging set to DEBUG. A few days ago, and I'm not sure what triggered this, the logs started showing messages like DEBUG 17:37:30,399 logged out: # every second or so, regardless whether there was Cassandra activity. Today I just upgraded to 0.7.5,

Building from source from behind firewall since Maven switch?

2011-05-02 Thread Suan-Aik Yeo
Has anybody successfully built-from-source from behind a firewall since 0.7.1 when they switched from using Ivy to Maven? We were able to build from source in 0.7.0 by inserting "proxy.host" and "proxy.port" property names in build.xml and exporting -Dhttp.proxyHost and -Dhttp.proxyPort variabl