Re: Is it possible to get list of row keys?

2011-02-23 Thread Daniel Lundin
They are, however, in *stable* order, which is important. On Wed, Feb 23, 2011 at 3:20 PM, Norman Maurer wrote: > yes but be aware that the keys will not in the "right order". > > Bye, > Norman > > 2011/2/23 Roshan Dawrani : >> On Wed, Feb 23, 2011 at 7:17 PM, Ching-Cheng Chen >> wrote: >>> >>>

Re: Getting the version number

2011-01-19 Thread Daniel Lundin
in 0.7 nodetool has a `version` command. On Wed, Jan 19, 2011 at 4:09 PM, David Boxenhorn wrote: > Is there any way to use nodetool (or anything else) to get the Cassandra > version number of a deployed cluster? >

Re: Java cient

2011-01-18 Thread Daniel Lundin
Hector is excellent. https://github.com/rantav/hector http://www.datastax.com/sites/default/files/hector-v2-client-doc.pdf 2011/1/18 Noble Paul നോബിള്‍ नोब्ळ् : > What is the most commonly used java client library? Which is the the most > mature/feature complete? > Noble

Re: Do you have a site in production environment with Cassandra? What client do you use?

2011-01-15 Thread Daniel Lundin
python + pycassa scala + Hector On Fri, Jan 14, 2011 at 6:24 PM, Ertio Lew wrote: > Hey, > > If you have a site in production environment or considering so, what > is the client that you use to interact with Cassandra. I know that > there are several clients available out there according to the >

Re: Quorum: killing 1 out of 3 server kills the cluster (?)

2010-12-09 Thread Daniel Lundin
Quorum is really only useful when RF > 2, since the for a quorum to succeed RF/2+1 replicas must be available. This means for RF = 2, consistency levels QUORUM and ALL yield the same result. /d On Thu, Dec 9, 2010 at 4:40 PM, Timo Nentwig wrote: > Hi! > > I've 3 servers running (0.7rc1) with a

Re: Sorted Integer -> UUID

2010-12-01 Thread Daniel Lundin
Unless I misunderstand the Q, composing the column names with the row keys and merging the resulting would yield something useful. keyA => (1, uuid), (2, uuid), (3, uid) keyB => (1, uuid), (2, uuid), (3, uid) Should be transformed into: (1, keyA, uuid), (1, keyB, uuid), (2, keyA, uuid), (2,

Re: Is there any way to store muti-version data based on the timestamp?

2010-12-01 Thread Daniel Lundin
> I did some test to see if cassandra can store muti-version of the same > data, but from the below test code seems it only can store one > version's data, which is different from HBase. > Can somebody help to confirm this? Correct. Unlike BigTable and HBase, Cassandra columns don't have a version

Re: Updating Cascal

2010-11-30 Thread Daniel Lundin
I'd highly recommend looking at Hector (v2) as well. It's very nice. I'm using it from Scala without any issues. Rather than duplicating the effort of scromium, cascal, scalandra, and not to mention Hector itself, perhaps it'd worthwhile taking a stab at a Scala interface wrapping Hector? Connect

Re: Why is column name not printed for Keyspace1.Standard1

2010-10-26 Thread Daniel Lundin
Since CompareWith is BytesType, the cli will print the names as (hex) bytes. Example: "6d6964646c65" => "\x6d\x69\x64\x64\x6c\x65" => "middle" /d On Tue, Oct 26, 2010 at 11:42 PM, Joe Alex wrote: > With the sample Keyspace1 can somebody explain why the column names > does not print in the Stand