graph icon indicating copy to clipboard operation
graph copied to clipboard

Kindly include a section in the book detailing how to start JanusGraph using docker compose, especially if the compose also is running other services eg Traefik, Redis etc

Open Arap-Odawa opened this issue 1 year ago • 0 comments

Dear @krlawrence and @spmallette ,

Thank you for dedicating your time to write the book on Graph Databases. It is a lighthouse that guides seafarers in the graph world especially for noobs like myself. There seems to be a dearth of recent material on graph databases nowadays, poset 2020 and COVID-19 and I think also the ChatGPT phenomenon also withdrew attention from graph databases yet these are the bedrock of some artificial intelligence algorithms such as GNNs - Graphical Neural Networks and all the sub-branches of the GNNs.

Having said that, I have been trying to setup a JanusGraph database using docker-compose (full disclosure: after failing miserably at dockerizing an instance of JanusGraph based on a 2020 article by one Levi Lentz), and I seem to be running into problems in terms of how to configure a janusgraph instance as part of a host of services orchestrated by a docker-compose. I've followed all the available tutorials and seem to be missing something that causes the instance not to initialize with the following error:

2024-09-13 06:16:06 03:16:06 WARN com.datastax.oss.driver.api.core.auth.PlainTextAuthProviderBase.onMissingChallenge - [JanusGraph Session] scylla_graph/172.20.0.19:9042 did not send an authentication challenge; This is suspicious because the driver expects authentication 2024-09-13 06:16:06 03:16:06 ERROR org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor. - Could not invoke constructor on class org.janusgraph.graphdb.management.JanusGraphManager (defined by the 'graphManager' setting) with one argument of class Settings 2024-09-13 06:16:06 03:16:06 ERROR org.janusgraph.graphdb.server.JanusGraphServer.lambda$main$0 - JanusGraph Server was unable to start and will now begin shutdown

I don't know which configuration I seem to be missing, or misconfiguring to result in that error. Any help towards this will be greatly appreciated, but in addition and as a matter of public interest given the dearth of tutorials in the last 2-3 years, also, please consider adding a chapter/ section on how to setup JanusGraph with docker compose while also serving other services such as Traefik or Redis.

Thanks,

Regards,

Michael

Arap-Odawa avatar Sep 13 '24 05:09 Arap-Odawa