1 year ago

#327709

test-img

Dan

JanusGraph cannot connect to remote elasticsearch cluster

We previously had JG (v0.5.2) up and running without any issues using HBASE as our backend storage. To try and speed up queries we stood up an elasticsearch cluster, however now our JG instance is not starting up, saying that "could not get type for name org.janusgraph.example.GraphApp".

enter image description here

Our elastic properties are setup like:

index.search.backend="elasticsearch"
index.search.hostname = "myhost.elasticsearch:9200"  ## https://myhost.elasticsearch:9200/janusgraph  <-- returns index values
index.search.elasticsearch.client-only=true

In order to hit ES using curl, I have to run with the -k flag

curl -k https://myhost.elasticsearch:9200

I assume there has to be an option like that for JG, no?

I've been banging my head on this one for a while. Is there anything that I am missing??

java

gremlin

janusgraph

gremlin-server

0 Answers

Your Answer

Accepted video resources