cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: avro + cassandra + ruby
Date Thu, 30 Sep 2010 19:38:51 GMT
If you turn logging up to DEBUG do you see any lines such as this when running your script.

DEBUG [pool-1-thread-22] 2010-10-01 08:22:12,723 ClientState.java (line 107) logged out: #<User
allow_all groups=[]>

And out of interest, if you send two multiget_slice calls, do they both log from the same
thread? e.g. 

DEBUG [pool-1-thread-26] 2010-10-01 08:37:08,832 CassandraServer.java (line 264) multiget_slice
DEBUG [pool-1-thread-26] 2010-10-01 08:37:14,825 CassandraServer.java (line 264) multiget_slice

Shows they both ran on the same thread / connection. 

Aaron



On 01 Oct, 2010,at 07:18 AM, Gabor Torok <Gabor.Torok@sunpowercorp.com> wrote:

I ran the python code like Gary suggested and it succeeded. (As an aside, it would be nice
if I could run the python code for avro without having thrift installed.)

Then I re-created my ruby example in python (essentially calling set_keyspace and then making
a multiget_slice call) and it also succeeded.

When I try the same in ruby, it fails with the cassandra giving a KeyspaceNotDefinedException.

I'll keep digging and let you know what I find.
--Gabor

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message