I added a comment to an existing issue:
https://issues.apache.org/jira/browse/AVRO-537
Thanks,
--Gabor
The ruby code creates a new http connection for each call to transceive. Here
is what I changed to make it work:
gabor$ diff /usr/local/lib/ruby/gems/1.8/gems/avro-1.4.0/lib/avro/ipc.rb
~/avro-trunk/lang/ruby/lib/avro/ipc.rb
518d517
< require "net/http"
525d523
< @conn = Net::HTTP.start
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 s
The server exception is:
WARN 09:49:56,644 user error
org.apache.cassandra.avro.KeyspaceNotDefinedException
at
org.apache.cassandra.avro.AvroValidation.validateKeyspace(AvroValidation.java:73)
at
org.apache.cassandra.avro.AvroValidation.validateColumnParent(AvroValidation.java:12
Thanks, that made things better by about 30%. Unfortunately for me that's still
unacceptable... :-(
I feel like I'm doing something wrong with avro (see my original post). Was
anyone able to make it work?
Hi,
I'm attempting to use avro to talk to cassandra because the ruby thrift
client's read performance is pretty bad (I measured 4x slower than java).
However, I run into a problem when calling multiget_slice.
The server gives a KeyspaceNotDefinedException because
clientState.getKeyspace() retur