Re: batch_mutate silently failing in Cassandra

2010-09-07 Thread Jonathan Ellis
QUORUM of ReplicationFactor=1 is 1. All consistency levels should work fine as long as RF <= node count. If you are seeing it work at CL.ONE but not at QUORUM then that is probably a bug. On Tue, Sep 7, 2010 at 7:36 PM, Lucas Nodine wrote: > Partially Resolved... > > Taking your advise (both Jo

Re: batch_mutate silently failing in Cassandra

2010-09-07 Thread Lucas Nodine
Partially Resolved... Taking your advise (both Jonathan and Aaron's) I was able to track the problem down. The issue was that running insert (also batch_mutate) and using a consistencylevel of quorum on a cluster of 1 server with a replication factor of 1 does not work. Well, that is not accurat

Re: batch_mutate silently failing in Cassandra

2010-09-07 Thread Lucas Nodine
Jonathan, I have done it successfully with insert, but I have not tried it with mutate. I'll give that a try tonight. Thanks On Tue, Sep 7, 2010 at 2:54 PM, Jonathan Ellis wrote: > I would try to get a single hard-coded column to insert, before doing > something more complex. > > You can also

Re: batch_mutate silently failing in Cassandra

2010-09-07 Thread Aaron Morton
Turn up the logging to DEBUG level (in config/log4-server.properties) and check that you are sending what you think you are. AaronOn 08 Sep, 2010,at 02:11 AM, Lucas Nodine wrote:Hello all, I have posted the following to Stackoverflow, but thought that I would also try the list.  If you have any s

Re: batch_mutate silently failing in Cassandra

2010-09-07 Thread Jonathan Ellis
I would try to get a single hard-coded column to insert, before doing something more complex. You can also enable debug logging on the server and see if that matches what you want the client to be doing. On Tue, Sep 7, 2010 at 9:11 AM, Lucas Nodine wrote: > Hello all, > > I have posted the follo

batch_mutate silently failing in Cassandra

2010-09-07 Thread Lucas Nodine
Hello all, I have posted the following to Stackoverflow, but thought that I would also try the list. If you have any suggestions, please let me know I am working with Cassandra 0.6.5 using the thrift interface. I am trying to use the batch_mutate method call, however, when I execute it, I receiv

Re: batch_mutate silently failing

2010-04-15 Thread Jonathan Ellis
Ah, I see. Glad you resolved that. :) On Thu, Apr 15, 2010 at 12:31 PM, Lee Parker wrote: > The entire thing was completely my own fault. I was making an invalid > request and, somewhere in the code, I was catching the exception and not > handling it at all. So it only appeared to be silent w

Re: batch_mutate silently failing

2010-04-15 Thread Lee Parker
The entire thing was completely my own fault. I was making an invalid request and, somewhere in the code, I was catching the exception and not handling it at all. So it only appeared to be silent when in reality it was throwing a nice descriptive exception. Lee Parker l...@spredfast.com [image:

Re: batch_mutate silently failing

2010-04-15 Thread Jonathan Ellis
Could you create a ticket for us to return an error message in this situation? -Jonathan On Tue, Apr 13, 2010 at 4:24 PM, Lee Parker wrote: > nevermind. I figured out what the problem was. I was not putting the > column inside a ColumnOrSuperColumn container. > > > Lee Parker > l...@spredfast

Re: batch_mutate silently failing

2010-04-13 Thread Lee Parker
nevermind. I figured out what the problem was. I was not putting the column inside a ColumnOrSuperColumn container. Lee Parker l...@spredfast.com [image: Spredfast] On Tue, Apr 13, 2010 at 4:19 PM, Lee Parker wrote: > I upgraded my dev environment to 0.6.0 today in expectation of upgrading >

batch_mutate silently failing

2010-04-13 Thread Lee Parker
I upgraded my dev environment to 0.6.0 today in expectation of upgrading our prod environment soon. I am trying to rewrite some of our code to use batch_mutate with the Thrift PHP library directly. I'm not getting any result back, not even an exception or failure message, but the data is never sh