I want to set Cassandra storage for my Titan DB.
For that I have followed instruction from http://s3.thinkaurelius.com/docs/titan/1.0.0/cassandra.html
I am using Cassandra 3.1.1, For Cassandra 2.2 or higher I need to explicitly enable thrift so that Titan can connect to the cluster.
So I run
/bin/nodetool enablethrift.
It gives me
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused: connect'.
So I done below changes in /conf/cassandra-env.sh
set JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=127.0.0.1/7199
still connection refused issue occurs.