configuration not being respected


Karol <karol....@...>
 

Hi all,

I'm trying to setup janus so that it works with spring data gremlin plugin

In order to do so I have to setup the variable graph.set-vertex-id=true as mentioned here

here's the config I'm using:

$ pwd
/opt/janusgraph
$ cat conf/janusgraph-inmemory.properties | grep -e '^[a-z]'
gremlin.graph=org.janusgraph.core.JanusGraphFactory
storage.backend=inmemory
graph.set-vertex-id=true

So it clearly is set to true in the config file I'll be later using. Here's how I start the server:

$ bin/gremlin.sh
# console starts here
gremlin> graph = JanusGraphFactory.open('conf/janusgraph-inmemory.properties')
==>standardjanusgraph[inmemory:[127.0.0.1]]
gremlin> mgmt = graph.openManagement()
==>org.janusgraph.graphdb.database.management.ManagementSystem@2262d6d5
gremlin> mgmt.get("graph.set-vertex-id")
==>false
gremlin> mgmt.set("graph.set-vertex-id", "true")
Cannot change the fixed configuration option: root.graph.set-vertex-id

I'm aware of mutability levels as well as the fact that the property I'm trying to set is of level FIXED and can't be changed once the db is up. The thing is I'm unable to change it no matter what I do.

There's a probably working solution posted already here but janus in this case is embedded and I want mine to be on a dedicated jvm.

Any ideas how to accomplish that?

Cheers
Karol

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.