I've found the solution, thanks for the help, I needed to change the addresses
on the storage-conf.xml both ListenAddress and ThriftAddress to the address of
the server itself. Sorry about the snippet being incomplete btw
On Dec 6, 2010, at 4:18 PM, Ryan King wrote:
> It would help if you giv
It would help if you give us more context. The code snippet you've
given us is incomplete and not very helpful.
-ryan
On Mon, Dec 6, 2010 at 12:33 PM, Alberto Velandia
wrote:
> Hi I've successfully managed to connect to the server through the
> cassandra-cli command but still no luck on doing it
Hi I've successfully managed to connect to the server through the cassandra-cli
command but still no luck on doing it from Fauna, I'm running cassandra 0.6.8
and I did the usual require 'cassandra'
I've changed the ThriftAddress on the storage-conf.xml to the IP address of the
server itself, do
You can run the cassandra-cli from any machine. If you run it from the same machine as your ruby code it's a reliable way to check you can connect to the cluster. ok, next set of questions- what version of cassandra are you using ? Is it 0.7?- what require did you run ? was it require 'cassandr
I've tried the keyspaces() function and got this on return:
compass.keyspaces()
CassandraThrift::Cassandra::Client::TransportException:
CassandraThrift::Cassandra::Client::TransportException
from
/home/compass/.rvm/gems/ruby-1.9.2...@rails3/gems/thrift-0.2.0.4/lib/thrift/transport/socke
What function are you calling to get data and what is the error ?Try calling a function like keyspaces(), it should return a list of the keyspaces in your cluster and is a good way to test things are connected.If there is still no joy check you can connect to your cluster using the cassandra-cli c