title: Elasticsearch error with JanusGraph
body: <p>It looks like I am hitting a problem with elasticsearch even though I do not have this configured anywhere :( </p>
  
  <p>Application code (Java):</p>
  
  <pre class="lang-java prettyprint-override"><code>public static void main(String args[]) {
      JanusGraph g = JanusGraphFactory.open("/path/to/file/janusgraph-solr.properties");
      GraphOfTheGodsFactory.load(g);
      g.close();
  }
  </code></pre>
  
  <p>Configuration (<code>janushgraph-solr.properties</code>):</p>
  
  <pre><code># Change to the directory where JanusGraph was extracted.  Later commands
  # use relative paths to the Solr config files shipped with the JanusGraph
  # distribution.
  cd $JANUSGRAPH_HOME
  
  # The name must be URL safe and should contain one dot/full-stop
  # character. The part of the name after the dot must not conflict with
  # any of JanusGraph's internal CF names.  Starting the part after the dot
  # "solr" will avoid a conflict with JanusGraph's internal CF names.
  CORE_NAME=testt
  # Where to upload collection configuration and send CoreAdmin requests.
  SOLR_HOST=localhost:8983
  
  # The value of index.[X].solr.http-urls in JanusGraph's config file
  # should match $SOLR_HOST and $CORE_NAME.  For example, given the
  # $CORE_NAME and $SOLR_HOST values above, JanusGraph's config file would
  # contain (assuming "search" is the desired index alias):
  #
   index.search.solr.http-urls=http://localhost:8983/solr/testt
  #
  # The stock JanusGraph config file conf/janusgraph-cassandra-solr.properties
  # ships with this http-urls value.
  
  storage.backend=cassandrathrift
  </code></pre>
  
  <p>For reference, here's the <a href="https://github.com/JanusGraph/janusgraph/blob/master/janusgraph-core/src/main/java/org/janusgraph/example/GraphOfTheGodsFactory.java" rel="nofollow noreferrer">GraphOfTheGods file</a>.</p>
  
  <p>I get the following error:</p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex
      at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:69)
      at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
      at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:464)
      at org.janusgraph.diskstorage.Backend.&lt;init&gt;(Backend.java:149)
      at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1850)
      at org.janusgraph.graphdb.database.StandardJanusGraph.&lt;init&gt;(StandardJanusGraph.java:134)
      at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:107)
      at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:75)
      at graph.red_graph.App.main(App.java:29)
  Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)
      ... 8 more
  Caused by: org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
      at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:279)
      at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:198)
      at org.elasticsearch.client.transport.support.InternalTransportClusterAdminClient.execute(InternalTransportClusterAdminClient.java:86)
      at org.elasticsearch.client.support.AbstractClusterAdminClient.health(AbstractClusterAdminClient.java:127)
      at org.elasticsearch.action.admin.cluster.health.ClusterHealthRequestBuilder.doExecute(ClusterHealthRequestBuilder.java:92)
      at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)
      at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65)
      at org.janusgraph.diskstorage.es.ElasticSearchIndex.&lt;init&gt;(ElasticSearchIndex.java:215)
      ... 13 more
  </code></pre>