Re: How to change GLOBAL_OFFLINE configuration when graph can't be instantiated


Hi Toom,

OK, I tried two things. I start with the janusgraph-full-0.5.3 distribution and run (this has gremlin server running with conf/
$ bin/ start

Now I start a gremlin console and I do:

1. graph ='conf/')
In this case I made a copy of onf/') and gave elasticsearch a non-existing ip address. This gives the following stacktrace:

17:32:19 WARN  - Unable to determine Elasticsearch server version. Default to SEVEN. Connection refused
    at org.elasticsearch.client.RestClient.extractAndWrapCause(
    at org.elasticsearch.client.RestClient.performRequest(
    at org.elasticsearch.client.RestClient.performRequest(
    at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(
    at org.apache.tinkerpop.gremlin.console.Console.<init>(Console.groovy:168)
    at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(
    at org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:502)
Caused by: Connection refused
    at Method)
    at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(
    at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(
    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(
    at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(
    at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$
Could not instantiate implementation:

This sounds like the stacktrace you encountered. It does show that janusgraph uses the local properties file. The GLOBAL OFFLINE looks more like a warning that you cannot use heterogenous indexing backend configs and get consistent results. Are you sure your corrected configs are right?

2. graph ='conf/')
This simply opens the graph without using the indexing backend. So, it is possible to still open the graph.

Best wishes,


Join to automatically receive all group messages.