I've followed the instructions to set
https://github.com/thinkaurelius/titan/wiki/Using-Elastic-Search and verified I can access my elasticsearch node from my cassandra node, yet I still get the following error when I start titan:
13/07/23 21:22:19 INFO elasticsearch.plugins: [Gemini] loaded [], sites []
13/07/23 21:22:20 INFO es.ElasticSearchIndex: Configured remote host: 33.33.33.36 : 9300
13/07/23 21:22:20 INFO es.ElasticSearchIndex: Configured remote host: : 9300
13/07/23 21:22:20 ERROR service.CassandraDaemon: Exception in thread Thread[main,5,main]
java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:274)
at com.thinkaurelius.titan.diskstorage.Backend.getIndexes(Backend.java:245)
at com.thinkaurelius.titan.diskstorage.Backend.<init>(Backend.java:98)
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:440)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:67)
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:40)
at com.thinkaurelius.titan.tinkerpop.rexster.RexsterTitanServer.start(RexsterTitanServer.java:70)
at com.thinkaurelius.titan.tinkerpop.rexster.RexsterTitanServer.startDaemon(RexsterTitanServer.java:80)
at com.thinkaurelius.titan.tinkerpop.rexster.RexsterTitanServer.main(RexsterTitanServer.java:118)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:263)
... 8 more
Caused by: org.elasticsearch.client.transport.NoNodeAvailableException: No node available
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:202)
at org.elasticsearch.client.transport.support.InternalTransportClusterAdminClient.execute(InternalTransportClusterAdminClient.java:85)
at org.elasticsearch.client.support.AbstractClusterAdminClient.health(AbstractClusterAdminClient.java:83)
at org.elasticsearch.action.admin.cluster.health.ClusterHealthRequestBuilder.doExecute(ClusterHealthRequestBuilder.java:93)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)
at com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex.<init>(ElasticSearchIndex.java:149)
... 13 more
13/07/23 21:22:20 INFO thrift.ThriftServer: Stop listening to thrift clients
13/07/23 21:22:20 INFO gms.Gossiper: Announcing shutdown
13/07/23 21:22:21 INFO net.MessagingService: Waiting for messaging service to quiesce
13/07/23 21:22:21 INFO net.MessagingService: MessagingService shutting down server thread.
my properties file:
storage.backend=embeddedcassandra
storage.cassandra-config-dir=file:///etc/cassandra/cassandra.yaml
storage.index.search.backend=elasticsearch
storage.index.search.client-only=true
storage.index.search.local-mode=false
storage.index.search.hostname=33.33.33.36,
Anyone have any ideas I can try out?
Thanks,
Brian