Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gremlin-groovy is not an available GremlinScriptEngine

I am setting up janusgraph with cassandra on a server. I am getting the following mentioned error. Also what changes are to be made in config file while deploying it on server.

Linux server with JanusGraph 0.4.0, Cassandra 3.11.0

gremlin> :remote connect tinkerpop.server conf/remote.yaml

==>Configured localhost/127.0.0.1:8182 gremlin> :> ConfiguredGraphFactory.getGraphNames() gremlin-groovy is not an available GremlinScriptEngine Type ':help' or ':h' for help. Display stack trace? [yN]y java.lang.IllegalArgumentException: gremlin-groovy is not an available GremlinScriptEngine at org.apache.tinkerpop.gremlin.jsr223.CachedGremlinScriptEngineManager.registerLookUpInfo(CachedGremlinScriptEngineManager.java:95) at org.apache.tinkerpop.gremlin.jsr223.CachedGremlinScriptEngineManager.getEngineByName(CachedGremlinScriptEngineManager.java:58) at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

like image 538
Phoenix Avatar asked Dec 20 '25 23:12

Phoenix


1 Answers

This error also occurs when trying to run the docker image on an arm64 architecture, such as a Mac M1.

I forked the janusgraph docker repo -
https://github.com/JanusGraph/janusgraph-docker

If you don't want to build it yourself, you can use this image -

docker pull savantly/janusgraph:0.6.1-arm64
like image 189
Jeremy Avatar answered Dec 24 '25 12:12

Jeremy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!