Re: 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:
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

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.