Re: Using Cassandra via the Erlang Thrift Client API (HOW ??)

2010-03-04 Thread Jonathan Ellis
On Thu, Mar 4, 2010 at 11:27 AM, J T wrote: > Hi All, > Many thanks for the responses. You helped enormously. I was in fact talking > to the wrong port. It should have been 9160 rather than . > I just assumed that the port the cassandra server displayed when starting up > was the one I should

Re: Using Cassandra via the Erlang Thrift Client API (HOW ??)

2010-03-04 Thread Brandon Williams
On Thu, Mar 4, 2010 at 11:27 AM, J T wrote: > Once I have something working I'll write a new post back with a couple of > examples here to help future newbies on how to talk to cassandra from > erlang, since those examples are not present on the cassandra/thrift wiki as > far as I can tell. > Co

Re: Using Cassandra via the Erlang Thrift Client API (HOW ??)

2010-03-04 Thread J T
Hi All, Many thanks for the responses. You helped enormously. I was in fact talking to the wrong port. It should have been 9160 rather than . I just assumed that the port the cassandra server displayed when starting up was the one I should be talking to, my bad. I should have read the config f

Re: Using Cassandra via the Erlang Thrift Client API (HOW ??)

2010-03-04 Thread Jeremey.Barrett
I think you want port 9160, not ... dt_socket != thrift. Jeremey. On Mar 4, 2010, at 2:02 AM, ext J T wrote: > Hi, > > I've been trying to piece together some notion of how to use cassandra from > an erlang client. > > So far I have managed to come up with the following, but it doesn't wo

Re: Using Cassandra via the Erlang Thrift Client API (HOW ??)

2010-03-04 Thread Jonathan Ellis
You probably need to switch the server to framed thrift mode. On Thu, Mar 4, 2010 at 2:02 AM, J T wrote: > Hi, > I've been trying to piece together some notion of how to use cassandra from > an erlang client. > So far I have managed to come up with the following, but it doesn't work. > Unfortunat

Using Cassandra via the Erlang Thrift Client API (HOW ??)

2010-03-04 Thread J T
Hi, I've been trying to piece together some notion of how to use cassandra from an erlang client. So far I have managed to come up with the following, but it doesn't work. Unfortunately there does not seem to be any decent documentation on the subject I can find with googling so I'm hoping some