RE: Can I create a counter column family with many rows in 1.1.10?

2013-03-06 Thread Mateus Ferreira e Freitas

Ah, I'ts with many columns, not rows. I use this in cql 2-3 create table cnt 
(key text PRIMARY KEY, y2003 counter, y2004 counter);it says this is not a 
counter column family, and if I try to use 
default_validation_class=CounterType,it says this is not a valid keyword.What 
I'm supposed to type in order to create it?

From: aa...@thelastpickle.com
Subject: Re: Can I create a counter column family with many rows in 1.1.10?
Date: Tue, 5 Mar 2013 23:47:38 -0800
To: user@cassandra.apache.org

Note that CQL 3 in 1.1 is  compatible with CQL 3 in 1.2. Also you do not have 
to use CQL 3, you can still use the cassandra-cli to create CF's. 
The syntax you use to populate it depends on the client you are using. 
Cheers 

-Aaron MortonFreelance Cassandra DeveloperNew Zealand
@aaronmortonhttp://www.thelastpickle.com



On 5/03/2013, at 9:16 PM, Abhijit Chanda abhijit.chan...@gmail.com wrote:Yes 
you can , you just have to use CQL3 and 1.1.10 onward cassandra supports CQL3.  
Just you have to aware of the fact that a column family that contains a counter 
column can only contain counters. In other other words either all the columns 
of the column family excluding KEY have the counter type or none of them can 
have it.

Best Regards,
-- 
Abhijit Chanda
+91-974395



  

RE: Can I create a counter column family with many rows in 1.1.10?

2013-03-06 Thread Mateus Ferreira e Freitas

I got it now.

From: mateus.ffrei...@hotmail.com
To: user@cassandra.apache.org
Subject: RE: Can I create a counter column family with many rows in 1.1.10?
Date: Wed, 6 Mar 2013 08:42:37 -0300





Ah, I'ts with many columns, not rows. I use this in cql 2-3 create table cnt 
(key text PRIMARY KEY, y2003 counter, y2004 counter);it says this is not a 
counter column family, and if I try to use 
default_validation_class=CounterType,it says this is not a valid keyword.What 
I'm supposed to type in order to create it?

From: aa...@thelastpickle.com
Subject: Re: Can I create a counter column family with many rows in 1.1.10?
Date: Tue, 5 Mar 2013 23:47:38 -0800
To: user@cassandra.apache.org

Note that CQL 3 in 1.1 is  compatible with CQL 3 in 1.2. Also you do not have 
to use CQL 3, you can still use the cassandra-cli to create CF's. 
The syntax you use to populate it depends on the client you are using. 
Cheers 

-Aaron MortonFreelance Cassandra DeveloperNew Zealand
@aaronmortonhttp://www.thelastpickle.com



On 5/03/2013, at 9:16 PM, Abhijit Chanda abhijit.chan...@gmail.com wrote:Yes 
you can , you just have to use CQL3 and 1.1.10 onward cassandra supports CQL3.  
Just you have to aware of the fact that a column family that contains a counter 
column can only contain counters. In other other words either all the columns 
of the column family excluding KEY have the counter type or none of them can 
have it.

Best Regards,
-- 
Abhijit Chanda
+91-974395




  

Correct way to set ByteOrderedPartitioner initial tokens

2013-03-06 Thread Mateus Ferreira e Freitas

I have 4 Nodes, and I'd like to store all keys starting with 'a' on node 1, 'b' 
on 2, and so on.My keys just start with a letter and numbers follow, like 
'a150', 'b1','c32000'.I've set the initial tokens to 61ff, 62ff ,63ff, 64ff 
.This does not seem to be the correct way.Thanks.   


How to limit query results like from row 50 to 100

2013-02-19 Thread Mateus Ferreira e Freitas




With CQL or an API.   

Is there any consolidated literature about Read/Write and Data Consistency in Cassandra ?

2013-02-16 Thread Mateus Ferreira e Freitas




Like articles with tests and conclusions about it, and such, and not like the 
documentation in DataStax, or the Cassandra Books.

Thank you.

  

RE: Is there any consolidated literature about Read/Write and Data Consistency in Cassandra ?

2013-02-16 Thread Mateus Ferreira e Freitas

I'm sorry, it's because the mail is returning to me, and I thought it wasn't 
working. That link is similar to what I asked. I'm searching like,  for 
example, PhD,Dr,Ms dissertationsabout those topics in Cassandra; articles like 
http://www.cs.cornell.edu/projects/ladis2009/papers/lakshman-ladis2009.pdf, but 
specific to Read/Write operations and/or data consistency.Thank you.
  Date: Sat, 16 Feb 2013 18:26:20 -0500
 Subject: Re: Is there any consolidated literature about Read/Write and Data 
 Consistency in Cassandra ?
 From: edlinuxg...@gmail.com
 To: user@cassandra.apache.org
 
 Asking the question three times will not help getting it answered
 faster. Furthermore, I believe no one has answered it because no one
 understands what your asking.
 
 Here is something with tests and conclusions and it is not written by
 datastax or part of a book on cassandra.
 
 http://pbs.cs.berkeley.edu/
 
 On Sat, Feb 16, 2013 at 6:19 PM, Mateus Ferreira e Freitas
 mateus.ffrei...@hotmail.com wrote:
  Like articles with tests and conclusions about it, and such, and not like
  the documentation in DataStax, or the Cassandra Books.
 
  Thank you.