Phoenix
Phoenix

Reputation: 311

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)

Upvotes: 4

Views: 3507

Answers (1)

Jeremy
Jeremy

Reputation: 3548

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

Upvotes: 1

Related Questions