Simple mutator error

20 views
Skip to first unread message

laboo

unread,
Nov 15, 2011, 7:04:55 PM11/15/11
to sca...@googlegroups.com
I'm trying to run a modified version of the sample app on the github page...but it fails like this:

18:44:48.126 [Outgoing Connection channel:tcp://localhost:49055!0 Thread 3] WARN  org.scale7.cassandra.pelops.Operand - Operation failed as result of network
exception. Connection is being marked as corrupt (and will probably be be destroyed).  See cause for details...
org.apache.cassandra.thrift.UnavailableException: null
    at org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:19053) ~[cassandra-thrift-0.8.4.jar:0.8.4]
    at org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:1035) ~[cassandra-thrift-0.8.4.jar:0.8.4]
    at org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:1009) ~[cassandra-thrift-0.8.4.jar:0.8.4]
    at org.scale7.cassandra.pelops.Mutator$1.execute(Mutator.java:67) ~[scale7-pelops-1.2-0.8.x-SNAPSHOT.jar:na]
    at org.scale7.cassandra.pelops.Mutator$1.execute(Mutator.java:63) ~[scale7-pelops-1.2-0.8.x-SNAPSHOT.jar:na]

I've got a cluster of three hosts. I've tried using 2 or 3 as seeds. I've tried using one or more in my Cluster object constructor. I've tried using different consistency levels. Can't get it to work.

One potential problem is that the Cassandra cluster is running in an OpenStack installation, so the Cassandra instances are talking to each other over private IPs and my application is using the public IPs. However, I *can* read and write to my column family with cassandra-cli, even with the public IP, so I know that I've got the cluster itself set up correctly and it is visible with the public IPs.

Any thoughts?

Thanks,

laboo
Reply all
Reply to author
Forward
0 new messages