Should I add all nodes to the pool?

23 views
Skip to first unread message

Kaiser Sose

unread,
Jan 25, 2013, 4:46:14 AM1/25/13
to sca...@googlegroups.com
Hi all,
I'm using Pelops with a 5 nodes cluster of Cassandra.
Should I set the nodes[] only to the seeds or should I tell pelops to add a pool with each member of the cluster?

Right now my node list contains only the 2 seeds and I'm noticing a particular behaviour ... during the stress test I see some "TTransportException" on the node I set first.

nodes = {"test-cassandra-1", "test-cassandra-2"} <-- test-cassandra-1 will raise TTransportException
nodes = {"test-cassandra-2", "test-cassandra-1"} <-- test-cassandra-2 will raise TTransportException

TTransportException was thrown while attempting to create a connection to ' test-cassandra-X'. This node will be suspended for 10000ms.

Cassandra 1.06 Pelops 1.3-1.0 -- ulimit is set to 102400 so very high.

Thanks for any help,
Carlo

Dan Washusen

unread,
Jan 25, 2013, 8:23:01 PM1/25/13
to sca...@googlegroups.com
Hi Carlo,
Assuming you're using the CommonsBackedPool and that you haven't disabled the background task (it runs every 60 seconds by default), then all nodes in the cluster should eventually be dynamically added to the pool. When these new nodes are added you should see something like "Adding node '{}' to the pool".

Do the cassandra logs show anything useful? 

Cheers,
Dan


--
 
 



--
Dan Washusen
Make big files fly!
Reply all
Reply to author
Forward
0 new messages