RE: Schematool

2011-12-11 Thread Michael Vaknine
Hi, I have a keyspace called Index. I am trying to create it when I create a new cluster from the script that was created on the old cluster. create keyspace Index with placement_strategy = 'SimpleStrategy' and strategy_options = {replication_factor : 3 and durable_writes = true; I

Cannot Start Cassandra 1.0.5 with JNA on the CLASSPATH

2011-12-11 Thread Caleb Rackliffe
Hi All, I'm trying to start up Cassandra 1.0.5 on a Cent OS 6 machine. I installed JNA through yum and made a symbolic link to jna.jar in my Cassandra lib directory. When I run bin/cassandra -f, I get the following: INFO 09:14:31,552 Logging initialized INFO 09:14:31,555 JVM

Re: Meaning of values in tpstats

2011-12-11 Thread Philippe
Was't that on the 1.0 branch ? I'm still running 0.8x ? @Peter: investigating a little more before answering. Thanks 2011/12/10 Edward Capriolo edlinuxg...@gmail.com There was a recent patch that fixed an issue where counters were hitting the same natural endpoint rather then being randomized

Re: Schematool

2011-12-11 Thread Alain RODRIGUEZ
This is quite a different subject and the question has already been asked a few days ago (December, 1) : http://www.mail-archive.com/user@cassandra.apache.org/msg19083.html Anyways, you can test it by yourself changing the name of the column family. I don't know more about it by myself. Alain

Re: memory leaks in 1.0.5

2011-12-11 Thread Radim Kolar
Possible, but unlikely. See https://issues.apache.org/jira/browse/CASSANDRA-3537 for an example of a memory leak that wasn't. I didnt get the point. I have slowly increasing memory load on node, no flushable memtables. How it could not be memory leak? Also running nodetool upgradesstables

Re: Atomic Operations in Cassandra

2011-12-11 Thread Boris Yen
Hi Sylvain, Writes under the same row key are atomic (*even across column families*) in the sense that they are either all persisted or none are. Is this new feature for 1.x, or it also applies to previous version of Cassandra? Boris On Thu, Dec 8, 2011 at 6:40 PM, Sylvain Lebresne

Re: Moving existing nodes to a different network.

2011-12-11 Thread Henrik Schröder
I'm running Cassandra 1.0.1 if that makes any difference. /Henrik On Sun, Dec 11, 2011 at 13:16, Henrik Schröder skro...@gmail.com wrote: I have an existing cluster of four Cassandra nodes. The machines have both an internal and an external IP, and originally I set them up to use the

Re: Meaning of values in tpstats

2011-12-11 Thread Philippe
Answer below Pool NameActive Pending Completed Blocked All time blocked ReadStage27 2166 3565927301 0 With the slicing, I'm not sure off the top of my head. I'm sure someone else can chime in. For e.g. a multi-get,

Re: CPU bound workload

2011-12-11 Thread Philippe
Hi Peter, I'm going to mix the response to your email along with my other email from yesterday since they pertain to the same issue. Sorry this is a little long, but I'm stomped and I'm trying to describe what I've investigated. In a nutshell, in case someone has encountered this and won't read

Re: Atomic Operations in Cassandra

2011-12-11 Thread Sylvain Lebresne
On Sun, Dec 11, 2011 at 12:01 PM, Boris Yen yulin...@gmail.com wrote: Hi Sylvain, Writes under the same row key are atomic (even across column families) in the sense that they are either all persisted or none are. Is this new feature for 1.x, or it also applies to previous version of

Re: Cannot Start Cassandra 1.0.5 with JNA on the CLASSPATH

2011-12-11 Thread Michael Vaknin
i tried my configuration which is working but i am with ubuntu and cassandra 1.0.3 and i am running cassandra under user cassandra. i did not try it with 1.0.5 because i was not able to work with this version and i am waiting to 1.0.6 On Sun, Dec 11, 2011 at 7:50 PM, Caleb Rackliffe

Re: Cannot Start Cassandra 1.0.5 with JNA on the CLASSPATH

2011-12-11 Thread Brandon Williams
On Sun, Dec 11, 2011 at 3:23 AM, Caleb Rackliffe ca...@steelhouse.comwrote: Hi All, I'm trying to start up Cassandra 1.0.5 on a Cent OS 6 machine. I installed JNA through yum and made a symbolic link to jna.jar in my Cassandra lib directory. When I run bin/cassandra -f, I get the

Re: CPU bound workload

2011-12-11 Thread Philippe
Interesting development : I changed the maximum size of the batches in Process A to get them to go from about 90 per execute() to about 35. All the weird 28s/38s maximum execution times are gone, all timeouts are gone and everything is zipping along just fine. So moral of the story for me is :

Re: 1.0.3 CLI oddities

2011-12-11 Thread Chris Burroughs
Sounds like https://issues.apache.org/jira/browse/CASSANDRA-3558 and the other tickets reference there. On 11/28/2011 05:05 AM, Janne Jalkanen wrote: Hi! (Asked this on IRC too, but didn't get anyone to respond, so here goes...) Is it just me, or are these real bugs? On 1.0.3, from

cassandra in production environment

2011-12-11 Thread Ramesh Natarajan
Hi, We are currently testing cassandra in RHEL 6.1 64 bit environment running on ESXi 5.0 and are experiencing issues with data file corruptions. If you are using linux for production environment can you please share which OS/version you are using? thanks Ramesh

Re: cassandra in production environment

2011-12-11 Thread Peter Schuller
 We are currently testing cassandra in RHEL 6.1 64 bit environment running on ESXi 5.0 and are experiencing issues with data file corruptions. If you are using linux for production environment can you please share which OS/version you are using? It would probably be a good idea if you could

read/write counts

2011-12-11 Thread Feng Qu
Hello, When I use nodetool cfstas, I see read/write for both keyspace and column family. I assume both number are counted across the ring, but I saw different read/write counts showed on one node comparing to other 7 nodes. node 1,2,4-8: Keyspace: ks         Read Count: 44285565        

Consistence for node shutdown and startup

2011-12-11 Thread Jason Tang
Hi Here is the case, if we have only two nodes, which share the data (write one, read one), node One node Two | Stopped Continue working and update the data. | stopped stopped | start working

Re: Consistence for node shutdown and startup

2011-12-11 Thread Peter Schuller
 How about the conflict data when the two node on line separately. How it synchronized by two nodes when they both on line finally? Briefly, it's based on timestamp conflict resolution. This may be a good resource: http://www.datastax.com/docs/1.0/dml/about_writes#about-transactions -- /

Re: read/write counts

2011-12-11 Thread Peter Schuller
1) Are KS level counts and CF level counts for whole cluster or just for an individual node? Individual node. Also note that the CF level counts will refer to local reads/writes submitted to the node, while the statistics you get from StorageProxy (in JMX) are for requests routed. In general,

Re: Meaning of values in tpstats

2011-12-11 Thread Peter Schuller
With the slicing, I'm not sure off the top of my head. I'm sure someone else can chime in. For e.g. a multi-get, they end up as independent tasks. So if I multiget 10 keys, they are fetched in //, consolidated by the coodinator and then sent back ? Took me a while to figure out that // ==

plan to switch fro SimpleStrategy to NetworkTopologyStrategy

2011-12-11 Thread Igor
Hi, This is my first post, so first of all - thanks to Cassandra authors and community for their excellent job! Now to my question... I need a plan for transition from SimpleStrategy to NetworkSopologyStrategy (as I have to add two servers from remote datacenter with RTT up to 120ms to my

node stuck leaving on 1.0.5

2011-12-11 Thread Bryce Godfrey
I have a dead node I need to remove from the cluster so that I can rebalance among the existing servers (can't replace it for a while). I used nodetool removetoken and it's been stuck in the leaving state for over a day now. I've tried a rolling restart, which kicks of some streaming for a