'SchemaViolationException while creating a new janus cluster
I am trying to create a janusgraph cluster with cassandra as backend and elastic for indexing. Getting a warning saying -
org.janusgraph.core.SchemaViolationException: Adding this property for key [~T$SchemaName] and value [rtusername] violates a uniqueness constraint [SystemIndex#~T$SchemaName]
followed by a error saying
ERROR org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server Error
java.lang.IllegalStateException: Could not create/configure Authenticator null
Can someone please help me understand what I am missing here? What does rtusername actually mean here
Solution 1:[1]
Things to check for the first error message:
- is an old graph with the same value for the keyspace present (beware for the default value "janusgraph")?
- was the property key added by a different gremlin client (check by printing the schema, before adding the property key)?
- are you sure this happens during adding the property key to the schema (because this error can also happen while adding a property to a vertex of the graph)
The second error message is related to the communication between your gremlin client and the JanusGraph Server. Things to check:
- do the TinkerPop versions of the gremlin client and the JanusGraph Server match (compatibility matrix)?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
