Re: Concurrent TimeoutException on connection to gremlin server remotely


sarthak...@...
 

Ok. Got it. Thanks Stephen.

I just have another query. Maybe you can help.

So I have multiple graphs which I have defined them in my `gremlin-server.yaml`

```
graphs: {
  graph1: conf/janusgraph-hbase.properties,graph2: conf/janusgraph-insights-hbase.properties
}
scriptEngines: {
gremlin-groovy: {
scripts: [scripts/empty-sample.groovy],
plugins: { org.janusgraph.graphdb.tinkerpop.plugin.JanusGraphGremlinPlugin: {},
org.apache.tinkerpop.gremlin.server.jsr223.GremlinServerGremlinPlugin: {},
org.apache.tinkerpop.gremlin.tinkergraph.jsr223.TinkerGraphGremlinPlugin: {},
org.apache.tinkerpop.gremlin.jsr223.ImportGremlinPlugin: {classImports: [java.lang.Math], methodImports: [java.lang.Math#*]},
org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin: {files: [scripts/empty-sample.groovy]}}
}
}
```

And to initialise them at run time, I have mentioned these graph in my empty-sample.groovy

```
// define the default TraversalSource to bind queries to - this one will be named "g".
globals << [g2: graph2.traversal(),g1:graph1.traversal()]
```

The issue here is, sometimes this g2 doesn't get initialised at runtime.. and if I restart my server again.. it works.. The only difference between these properties file is storage.hbase.table

What could be the reason behind this random behaviour? 

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