Getting Error while deploying Titan with TinkerTop at AWS EC2

258 views
Skip to first unread message

manoj nainwal

unread,
Jul 7, 2017, 6:40:05 AM7/7/17
to Aurelius
Hi,

I am new for Gremlin as well as Titan.

I have directly downloaded titan from link - http://s3.thinkaurelius.com/downloads/titan/titan-1.0.0-hadoop1.zip .
unzip in Amazon EC2, and try to access it through my local browser. I got this error - {"message":"no serializer for requested Accept header: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"}

After that I was searching for solution and find one link of google group. - https://groups.google.com/forum/#!msg/aureliusgraphs/v4UcYwE5UVU/4coljP_EBwAJ
So I have copied - cp conf/gremlin-server/gremlin-server.yaml conf/gremlin-server/rest-gremlin-server.yaml
and changes in new file -
host: 0.0.0.0
channelizer: org.apache.tinkerpop.gremlin.server.channel.HttpChannelizer
graphs: {
  graph
: conf/gremlin-server/titan-cassandra-server.properties}

copy cp conf/titan-cassandra.properties conf/gremlin-server/titan-cassandra-server.properties
changes to this file -
storage.hostname=127.0.0.1
storage
.cassandra.keyspace=TITAN_DEMO

started server - ./bin/gremlin-server.sh ./conf/gremlin-server/rest-gremlin-server.yaml

from browser - http://172.30.xx.xxx:8182/?gremlin=100-1, but got error.

What do I do ?
Help me to get out of this.

Thanks,
Manoj

Robbie Runka

unread,
Jul 16, 2017, 12:30:50 PM7/16/17
to Aurelius
Hey Manoj,

Did you ever get this working? I can seem to get my server started with the channelizer set to 

channelizer: org.apache.tinkerpop.gremlin.server.channel.WebSocketChannelizer

but not with 

channelizer: org.apache.tinkerpop.gremlin.server.channel.HttpChannelizer

It gets all the way to the end then says:

ERROR org.apache.tinkerpop.gremlin.server.GremlinServer  - Gremlin Server was unable to start and will now begin shutdown: Could not bind to localhost and 8182 - perhaps something else is bound to that address.



Do you know if I need to configure something different on my VPC and subnets if I am using the Http rather than websockets?

Any help would be greatly appreciated.

Regards,

Robbie

Palash Kulshrestha

unread,
Jul 22, 2017, 11:49:10 AM7/22/17
to Aurelius
Hello Manoj/Robbie

In case you don't know, work on titan by open source community has moved to janus graph [forked from titan]. Its user list can be found here https://groups.google.com/forum/#!forum/janusgraph-users
Reply all
Reply to author
Forward
0 new messages