Hi
I am new to Cassandra Database.
I want to know how to Retrieve all the records from a column family, is this
is different in the clustered servers vs single servers.
Please suggest me with piece of code if possible.
/Regards
Sekhar.
Efficient, i'm not totally sure on yet. Would need to do some testing.
A quick mock up should highlight any tradeoffs being made.
I think its been decided we'll test it out by creating a simple client using
thrift
and if results look good we'll have an attempt using hector as a layer.
Yeah, I can only get away with it because the nodes have only 20GB each and there's a load of free space. ThanksAaronOn 27 Sep, 2010,at 05:25 PM, Jonathan Ellis wrote:that should work, but requiring RF=N makes it of limited usefulness in
practice :)
On Sun, Sep 26, 2010 at 9:10 PM, Aaron Morton
that should work, but requiring RF=N makes it of limited usefulness in
practice :)
On Sun, Sep 26, 2010 at 9:10 PM, Aaron Morton wrote:
> It is indeed CASSANDRA-1465 where the NEWS.TXT was changed to say the wire
> protocol had changed
> http://github.com/apache/cassandra/commit/4023c3b6f9d4cd66d
It is indeed CASSANDRA-1465 where the NEWS.TXT was changed to say the wire protocol had changed http://github.com/apache/cassandra/commit/4023c3b6f9d4cd66d56024b07962968f2424815f#diff-1As far as I can see the wire protocol change is to remove the string name of the TP stage from the message. I can
The only thing I can think of is that values need to be in the correct byte format when used in indexes in 0.7. Take a look at the types.py module in the pycassa client http://github.com/pycassa/pycassa for an example of which values need to be byte packed. How is your pig function working against
On Sun, Sep 26, 2010 at 5:33 PM, Jonathan Ellis wrote:
> It may be an indication of a lower-level problem in your cluster, e.g.
> flakey network causing FD false positives causing writes to be
> initially replicated to less than all 3 nodes.
>
> On Sun, Sep 26, 2010 at 11:53 AM, Narendra Sharma
>
On Sun, Sep 26, 2010 at 4:01 PM, Lucas Nodine wrote:
> Ok, so based on everyone's input it seems that I need to put some sort of
> server in front of Cassandra to handle locking and exclusive access.
>
> I am planning on building a system (DMS) that will store resources
> (document, images, media,
Ok, so based on everyone's input it seems that I need to put some sort of
server in front of Cassandra to handle locking and exclusive access.
I am planning on building a system (DMS) that will store resources
(document, images, media, etc) using Cassandra for data. As my target user
is going to
> It is odd that you are able to do 36000/sec _at all_ unless you are
> using CL.ZERO, which would quickly lead to OOM.
The problem with the hypothesis as far as I can tell is that the
hotspot error log's heap information does not indicate that he's close
to maxing out his heap. And I don't believ
Atomic (all of it will complete, or none), but not isolated (readers
can see parts of a write before they see the whole thing).
On Sun, Sep 26, 2010 at 1:19 PM, Aaron Morton wrote:
> Mutations against a single key on a single machine are
> atomic http://wiki.apache.org/cassandra/FAQ#batch_mutate_
It may be an indication of a lower-level problem in your cluster, e.g.
flakey network causing FD false positives causing writes to be
initially replicated to less than all 3 nodes.
On Sun, Sep 26, 2010 at 11:53 AM, Narendra Sharma
wrote:
> We are seeing high number of DigestMismatchException on o
Mutations against a single key on a single machine are atomic http://wiki.apache.org/cassandra/FAQ#batch_mutate_atomicAaronOn 27 Sep, 2010,at 07:48 AM, Norman Maurer wrote:To be more clear (maybe I was not before). BatchMutate is not atomic.
So it only "batch up" mutates to reduce overhead. So it
We are seeing high number of DigestMismatchException on our Cassandra
deployment. We have a cluster of 4 nodes with RF=3 and we read/write in
Quorum. I understand some DigestMismatchException is normal and is the
mechanism for Cassandra to ensure consistency by doing read-repair.
In our case, even
To be more clear (maybe I was not before). BatchMutate is not atomic.
So it only "batch up" mutates to reduce overhead. So it can be that
you will receive data from it even if the whole operation is not
complete or will not complete.
bye,
Norman
2010/9/26 Norman Maurer :
> Comments inside..
>
>
Comments inside..
2010/9/26 Lucas Nodine :
> I'm looking at a design where multiple clients will connect to Cassandra and
> get/mutate resources, possibly concurrently. After planning a bit, I ran
> into the following scenero for which I have not been able to research to
> find an answer sufficie
On Sun, Sep 26, 2010 at 11:04 AM, Lucas Nodine wrote:
> I'm looking at a design where multiple clients will connect to Cassandra and
> get/mutate resources, possibly concurrently. After planning a bit, I ran
> into the following scenero for which I have not been able to research to
> find an answ
I'm looking at a design where multiple clients will connect to Cassandra and
get/mutate resources, possibly concurrently. After planning a bit, I ran
into the following scenero for which I have not been able to research to
find an answer sufficient for my needs. I have found where others have
rec
Hi Aaron,
what changes can I expect in the 0.7 release regarding Comparison and
Parameters? My problem is mainly that I want to take Strings from stdin (or
Pig Scripts for that matter) and convert them in such a way that they are
interpreted correctly and converted to the corresponding byte repres
19 matches
Mail list logo