Elasticsearch java.net.UknownHostException: http
See original GitHub issueI’m using everything out of the box - the latest Stormcrawler with the latest elasticsearch stuff on github and the latest Elasticsearch (though I’m currently trying an older version of ES but getting the same issue).
Every time, when running:
storm jar target/synopdoc-1.0.jar org.apache.storm.flux.Flux --local es-crawler.flux --sleep 86400000
I fail on this:
29161 [Thread-20-__metricscom.digitalpebble.stormcrawler.elasticsearch.metrics.MetricsConsumer-executor[2 2]] ERROR c.d.s.e.m.MetricsConsumer - Can't connect to ElasticSearch java.lang.RuntimeException: java.net.UnknownHostException: http
I have no idea how to fix this and there’s essentially no information on google. Like I said, everything is out of the box; I have not made any changes to any settings files or whatever.
The ES_IndexInit.sh script executes successfully and creates the two indices so clearly 9200 is connectable and up.
Any help at all is greatly appreciated.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
OK I used 1.10 and it appears to be fixed after following your steps. Thank you very much, I will now attempt to inject urls and perform a real crawl.
Glad it’s sorted. Closing for now, you can use StackOverflow if you have any questions.