Gremlin-console unable to connect different keyspace

Ankur Goel <ankur...@...>


I am using embedded janusgraph server (cassandra + ES). have generated two graphs by change following properties in default : storage.cassandra.keyspace

But when connecting through gremlin interface to access different keyspace or graph getting error:

gremlin> g ='/home/devusr/janusgraph/conf/gremlin-server/')
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.
gremlin> g.V().count()
No signature of method: org.janusgraph.graphdb.database.StandardJanusGraph.V() is applicable for argument types: () values: []
Possible solutions: tx(), 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.


Join to automatically receive all group messages.