Issue Setting up ConfiguredGraphFactory
Paul Heinzlreiter
Hi all,
I am trying to set up the Janusgraph ConfiguredGraphFactory for using multiple graphs. I am using janusgraph-full-0.6.2
I am trying to configure it for the inmemory graph to exclude other possible issues.
I am using a janusgraph-inmemory-configurationgraph.properties: … gremlin.graph=org.janusgraph.core.ConfiguredGraphFactory graph.graphname=ConfigurationManagementGraph storage.backend=inmemory …
And in gremlin-server.yaml:
graphs: { ConfigurationManagementGraph: conf/janusgraph-inmemory-configurationgraph.properties }
Restarting gremlin server, then wanting to set up a template configuration:
gremlin> :remote connect tinkerpop.server conf/remote.yaml ==>Configured localhost/127.0.0.1:8182 gremlin> :remote console ==>All scripts will now be sent to Gremlin Server - [localhost/127.0.0.1:8182] - type ':remote console' to return to local mode gremlin> map = new HashMap();
[gremlin-server-exec-3] WARN org.apache.tinkerpop.gremlin.server.op.AbstractEvalOpProcessor - Exception processing a script on request [RequestMessage{, requestId=2022abcc-d5fb-491e-bcc6-6952e7200339, op='eval', processor='', args={gremlin=map.put("storage.hostname", "inmemory");, bindings={}, batchSize=64}}]. groovy.lang.MissingPropertyException: No such property: map for class: Script4
So the map type cannot be (de)serialized?
Any help appreciated.
Regards, Paul Heinzlreiter
-- DI Paul Heinzlreiter
RISC Software GmbH A company of Johannes Kepler University Linz
|
|