Titan database is not starting as Gremlin Server is failing

245 views
Skip to first unread message

Saravanakumar Murugesan

unread,
Jul 26, 2015, 11:06:36 AM7/26/15
to Aurelius
I downloaded titan-0.9.0-M2-hadoop1 and to start titan server, I used below command

./titan.sh -c ../conf/titan-cassandra.properties start


Forking Cassandra...
Running `nodetool statusthrift`. OK (returned exit status 0 and printed string "running").
Forking Elasticsearch...
Connecting to Elasticsearch (127.0.0.1:9300). OK (connected to 127.0.0.1:9300).
Forking Gremlin-Server...
Connecting to Gremlin-Server (127.0.0.1:8182)............................ timeout exceeded (60 seconds): could not connect to 127.0.0.1:8182
See /home/ubuntu/software/titan-0.9.0-M2-hadoop1/bin/../log/gremlin-server.log for Gremlin-Server log output.

Logs are attached with this mail.

Graph in gremlin configuration changed to support cassandra. Gremlin configuration is attached with this mail.

cheers
Saravanakumar
log.zip
gremlin-server.yaml

Jason Plurad

unread,
Jul 26, 2015, 1:17:32 PM7/26/15
to Aurelius, msk...@gmail.com
Hi Saravanakumar,

1. run titan.sh from the $TITAN_HOME directory, not from $TITAN_HOME/bin

2. the -c parameter should be pointing at your Gremlin Server YAML file, not the Titan properties file. Watch out for relative paths in your graph definition.

3. in your Titan properties file when using it with Gremlin Server, you need to include this property. For example notice that out of the box, there is a distinction between conf/titan-berkeleyje.properties and conf/gremlin-server/titan-berkeleyje-server.properties (which is used by conf/gremlin-server/gremlin-server.yaml)

gremlin.graph=com.thinkaurelius.titan.core.TitanFactory

Saravanakumar Murugesan

unread,
Jul 28, 2015, 10:24:11 AM7/28/15
to Aurelius, plu...@gmail.com
Hi,

Titan server is starting after implementing your suggestions.

Great reply

cheers
Saravanakumar
Reply all
Reply to author
Forward
0 new messages