A few observations about JanusGraph scripts / config files.

777 views
Skip to first unread message

Manoj Waikar

unread,
Aug 16, 2017, 2:26:35 AM8/16/17
to JanusGraph users list
Hi,

On Windows, using a terminal client like Babun one can run the bin/janusgraph.sh script. I tried running it but it doesn't work for me and this is the output -

Forking Cassandra...
Running `nodetool statusthrift`............ timeout exceeded (60 seconds)

Also, in section "7.1.1.1. Connecting to Gremlin Server" it is suggested to connect to the remote server using conf/remote.yaml file where port is mentioned as 8183. However the default websocket port in various other configuration files (like conf/gremlin-server/gremlin-server.yaml file) is 8182. I was able to connect to the remote server by changing the port from 8183 to 8182.

Should the port in the remote.yaml file be changed from 8183 to 8182?

Robert Dale

unread,
Aug 16, 2017, 8:23:07 AM8/16/17
to Manoj Waikar, JanusGraph users list
I am unable to find '8183' ever having existed in the code base.  

Robert Dale

--
You received this message because you are subscribed to the Google Groups "JanusGraph users list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

pradeep....@gmail.com

unread,
Oct 11, 2017, 10:01:11 PM10/11/17
to JanusGraph users
Hi,

I've been also getting the same timeout error and didn't get any success so far.
Please help me to understand where is gap, nothing is coming in cassandra.log file also.

./janusgraph.sh start
Forking Cassandra...
Running `nodetool statusthrift`............... timeout exceeded (60 seconds)
See /root/janusgraph-0.1.1-hadoop2/bin/../log/cassandra.log for Cassandra log output.

_Pradeep

Robert Dale

To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.

Jason Plurad

unread,
Oct 11, 2017, 10:04:53 PM10/11/17
to JanusGraph users
What OS/environment are your running this on?

datazone. cool.

pradeep....@gmail.com

unread,
Oct 11, 2017, 10:09:13 PM10/11/17
to JanusGraph users
RHEL 7.2 version...

Jason Plurad

unread,
Oct 11, 2017, 10:28:58 PM10/11/17
to JanusGraph users
Can you try this, uncomment following line in conf/cassandra-env.sh :

    JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=127.0.0.1"


Reference https://github.com/JanusGraph/janusgraph/issues/561

Jason Plurad

unread,
Oct 11, 2017, 10:35:38 PM10/11/17
to JanusGraph users
Is your RHEL machine configured for IPv6? Is the hostname resolvable?
This might be related https://issues.apache.org/jira/browse/CASSANDRA-2380

Robert Dale

unread,
Oct 11, 2017, 10:42:22 PM10/11/17
to Jason Plurad, JanusGraph users
Start with verbose:   ./bin/janusgraph.sh -v


Robert Dale

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/118fcbc6-f5fd-45f7-9b90-11f20b7143cc%40googlegroups.com.

pradeep....@gmail.com

unread,
Oct 11, 2017, 11:57:13 PM10/11/17
to JanusGraph users
Thanks it worked ....
Reply all
Reply to author
Forward
0 new messages