RE: Second Cassandra users survey

2011-11-06 Thread Pierre Chalamet
I do not want to use HBase because Cassandra is way far easier to deploy and it is working pretty well - and for the 99% of our apps the model fits perfectly. The other 1% has a workaround by ordering writes. I assume the trade off anyway :) Don't miss the point: I love Cassandra and the way it wo

Re: Second Cassandra users survey

2011-11-06 Thread Radim Kolar
Yeah, I can use HBase too. but why you are not using hbase if its feature set fits your needs better and want to have same functionality in cassandra? Its good that both projects are different in this area. From rest of your post it looks like you want to have cassandra ACID compliant, which i

Re: Will writes with < ALL consistency eventually propagate?

2011-11-06 Thread chovatia jaydeep
Hi Riyad, You can set replication = 5 (number of replicas) and write with CL = ONE. There is no hard requirement from Cassandra to write with CL=ALL to replicate the data unless you need it. Considering your example, If you write with CL=ONE then also it will replicate your data to all 5 replic

Re: Will writes with < ALL consistency eventually propagate?

2011-11-06 Thread Anthony Ikeda
It's your replication factor that determines how many nodes contain the data. So you would set the replication factor to 5 to ensure all nodes contain the data. Your consistency level is all based on when should the server return to the client after writing. When one node has written the data

Will writes with < ALL consistency eventually propagate?

2011-11-06 Thread Riyad Kalla
I am new to Cassandra and was curious about the following scenario... Lets say i have a ring of 5 servers. Ultimately I would like each server to be a full replication of the next (master-master-*). In a presentation i watched today on Cassandra, the presenter mentioned that the ring members w

Running java stress tests

2011-11-06 Thread Joe Kaiser
Hi, I am attempting to run the java stress tests: Tests to the local machine work fine: # sh stress -d localhost -n 100 Unable to create stress keyspace: Keyspace names must be case-insensitively unique total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time 321975,32197,32197,0.0

Using Cli to create a column family with column name metadata question

2011-11-06 Thread Arsene Lee
Hi, I'm trying to use Column Family's metadata to do some validation. I found out that in Cassandra's CLI CliClient.java code when trying to create a column family with column name metadata. It is based on CF's comparator type to convert the name String to ByteBuffer. I'm wondering if there is

Re: Why SSTable is sorted by tokens instead of row keys?

2011-11-06 Thread Zach Richardson
> Many articles suggest model TimeUUID in columns instead of rows, but since> > only one node can serve a single row, won't this lead to hot spot problems? It won't cause hotspots as long as you are sharding by a small enough time period, like hour, day, or week. I.e. the key is the hour day or

Re: Second Cassandra users survey

2011-11-06 Thread Robert Jackson
On Nov 6, 2011, at 3:41 PM, Ed Anuff wrote: > I'd like to see official support for Zookeeper inside of Cassandra. > I'd like it to be something that can be optionally configured. I'd > like to be able to make batch mutations atomic using it. Not sure how possible this is, but we are forced to u

Re: Second Cassandra users survey

2011-11-06 Thread Ed Anuff
On Sun, Nov 6, 2011 at 12:52 AM, Radim Kolar wrote: > - support for atomic operations or batches (if QUORUM fails, data should not > be visible with ONE) > zookeeper is solving that. I'd like to see official support for Zookeeper inside of Cassandra. I'd like it to be something that can be option

RE: Second Cassandra users survey

2011-11-06 Thread Pierre Chalamet
>>- support for atomic operations or batches (if QUORUM fails, data should not be visible with ONE) >zookeeper is solving that. Yeah, I can use HBase too. I might have screwed up a little bit since I didn't talk about isolation; let's reformulate: support for read committed (using DB terminolog

Re: Second Cassandra users survey

2011-11-06 Thread Mohit Anchlia
Transparent on disk encryption with pluggable keyprovider will also be really helpful to secure sensitive information. On Sun, Nov 6, 2011 at 9:42 AM, Aaron Turner wrote: > The intent was to have a lighter solution for common problems then > having to go with Hadoop or streaming large quantities

Re: hector setTtl(integer)

2011-11-06 Thread Tyler Hobbs
On Sun, Nov 6, 2011 at 11:44 AM, Aaron Turner wrote: > Haven't found this in the docs yet, but is the TTL the number of > seconds in the future to expire? Unix epoch time to expire? > something else? > > The TTL is the number of seconds in the future to expire. -- Tyler Hobbs DataStax

hector setTtl(integer)

2011-11-06 Thread Aaron Turner
Haven't found this in the docs yet, but is the TTL the number of seconds in the future to expire? Unix epoch time to expire? something else? -- Aaron Turner http://synfin.net/         Twitter: @synfinatic http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who w

Re: Second Cassandra users survey

2011-11-06 Thread Aaron Turner
The intent was to have a lighter solution for common problems then having to go with Hadoop or streaming large quantities of data back to the client. Is this feature creep? Yeah, prolly. Is it useful? Yes. If it can't be done well, then it probably shouldn't be done, but it never hurts to ask.

RE: Second Cassandra users survey

2011-11-06 Thread Sarah Baker
Isn't this sort of heading on the slippery slope of things that weigh you down? It was my understanding that Cassandra was "stick to your core competency" sort of database that really wanted to leave such utilities external. At its core was "get and put". Did I miss something in my reading of in

Re: Second Cassandra users survey

2011-11-06 Thread Aaron Turner
1. Basic SQL-like summary transforms for both CQL and Thrift API clients like: SUM AVG MIN MAX 2. Native 64bit UNsigned datatype 3. Add support for matching column names via LIKE (% and _ wildcards) for ascii type -- Aaron Turner http://synfin.net/         Twitter: @synfinatic http://tcprep

Re: Second Cassandra users survey

2011-11-06 Thread Radim Kolar
- support for atomic operations or batches (if QUORUM fails, data should not be visible with ONE) zookeeper is solving that. - TTL on CF, rows and counters TTL on counters will be nice, but i am good with rest as it is