Date
1 - 3 of 3
Gremlin-console unable to connect different keyspace
Ankur Goel <ankur...@...>
My bad, thnx Jason. On Thursday, September 7, 2017 at 6:30:57 PM UTC+5:30, Ankur Goel wrote:
|
|
Jason Plurad <plu...@...>
JanusGraphFactory.open() creates a graph. You need to create a graph traversal source.
You can see an example of this in the Getting Started docs. On Thursday, September 7, 2017 at 9:00:57 AM UTC-4, Ankur Goel wrote:
|
|
Ankur Goel <ankur...@...>
Hi, I am using embedded janusgraph server (cassandra + ES). have generated two graphs by change following properties in default janusgraph-cassandra-es-server.properties : storage.cassandra.keyspace But when connecting through gremlin interface to access different keyspace or graph getting error: gremlin> g = JanusGraphFactory.open('/home/devusr/janusgraph/conf/gremlin-server/janusgraph-cassandra-es-server.properties') 18:25:30 WARN org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration - Local setting cache.db-cache-clean-wait=20 (Type: GLOBAL_OFFLINE) is overridden by globally managed value (50). Use the ManagementSystem interface instead of the local configuration to control this setting. ==>standardjanusgraph[cassandrathrift:[192.168.207.47]] gremlin> g.V().count() No signature of method: org.janusgraph.graphdb.database.StandardJanusGraph.V() is applicable for argument types: () values: [] Possible solutions: tx(), io(org.apache.tinkerpop.gremlin.structure.io.Io$Builder), is(java.lang.Object), any(), any(groovy.lang.Closure), use([Ljava.lang.Object;) Type ':help' or ':h' for help. Display stack trace? [yN] Please suggest what wrong i am doing. ~AnkurG |
|