Unable to set the vertext id

41 views
Skip to first unread message

Dori Meshulam

unread,
Dec 31, 2018, 11:56:53 AM12/31/18
to JanusGraph users
Hi,

I'm new to Jaunsgraph.

I would like to set the vertex id with a user defined one.
I set the graph.set-vertex-id=true in janusgraph-cassandra-es.properties file on a fresh new installation before starting the Janusgraph.
But when I run JanusGraphFactory.open('conf/janusgraph-cassandra-es.properties') I'm getting the following message:

WARN  org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration  - Local setting graph.set-vertex-id=true (Type: FIXED) is overridden by globally managed value (false).  Use the ManagementSystem interface instead of the local configuration to control this setting.

Any idea what went wrong?

Thanks,
Dori


chris....@gmail.com

unread,
Jan 9, 2019, 10:54:51 PM1/9/19
to JanusGraph users
FIXED variables can only be set at graph creation. Also it's generally recommended if you want to assign a set ID to a vertex to just make that ID a property and index the field. Documentation on FIXED and other mutability levels can be found here.
Reply all
Reply to author
Forward
0 new messages