0Day Forums
gremlin-groovy is not an available GremlinScriptEngine - Printable Version

+- 0Day Forums (https://0day.red)
+-- Forum: Coding (https://0day.red/Forum-Coding)
+--- Forum: Database (https://0day.red/Forum-Database)
+---- Forum: Cassandra (https://0day.red/Forum-Cassandra)
+---- Thread: gremlin-groovy is not an available GremlinScriptEngine (/Thread-gremlin-groovy-is-not-an-available-GremlinScriptEngine)



gremlin-groovy is not an available GremlinScriptEngine - sarmentum425 - 07-30-2023

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)


RE: gremlin-groovy is not an available GremlinScriptEngine - sightlier549363 - 07-30-2023

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 -

[To see links please register here]


If you don't want to build it yourself, you can use this image -
```
docker pull savantly/janusgraph:0.6.1-arm64
```