Cannot find Elasticsearch Client
See original GitHub issue12:08:27,138 WARN [f.p.e.c.f.c.v.ElasticsearchClientV7] failed to create elasticsearch client, disabling crawler...
12:08:27,138 FATAL [f.p.e.c.f.c.FsCrawlerCli] We can not start Elasticsearch Client. Exiting.
java.lang.IllegalArgumentException: HTTP Host may not be null
at org.apache.http.util.Args.containsNoBlanks(Args.java:81) ~[httpcore-4.4.11.jar:4.4.11]
at org.apache.http.HttpHost.create(HttpHost.java:108) ~[httpcore-4.4.11.jar:4.4.11]
at fr.pilato.elasticsearch.crawler.fs.client.v7.ElasticsearchClientV7.lambda$buildRestClient$1(ElasticsearchClientV7.java:385) ~[fscrawler-elasticsearch-client-v7-2.7-SNAPSHOT.jar:?]
at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_71]
at fr.pilato.elasticsearch.crawler.fs.client.v7.ElasticsearchClientV7.buildRestClient(ElasticsearchClientV7.java:385) ~[fscrawler-elasticsearch-client-v7-2.7-SNAPSHOT.jar:?]
at fr.pilato.elasticsearch.crawler.fs.client.v7.ElasticsearchClientV7.start(ElasticsearchClientV7.java:141) ~[fscrawler-elasticsearch-client-v7-2.7-SNAPSHOT.jar:?]
at fr.pilato.elasticsearch.crawler.fs.cli.FsCrawlerCli.main(FsCrawlerCli.java:263) [fscrawler-cli-2.7-SNAPSHOT.jar:?]
12:08:27,138 INFO [f.p.e.c.f.FsCrawlerImpl] FS crawler [first_crawl] stopped
12:08:27,154 INFO [f.p.e.c.f.FsCrawlerImpl] FS crawler [first_crawl] stopped
I get the above error when trying to reindex the tmp/es folder into the first_crawl index using the FS-es7-2.7 SNAPSHOT from October 24 2019.
Elasticsearch version 7.4.2 is running at the same time as this error is happening, all locally on the same Windows 10 machine. I’m rather new to ES, I got fscrawler to work previously, but since installing Tesseract for OCR I get this error. I have specified the path to Tesseract.exe and Tessdata but still no difference.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Elastic Search client cannot find Request class - Stack Overflow
I use elastic search 6.3.2 java client with spring boot, and the error is Request class is missing. However from the dependencies, ...
Read more >Java: cannot find symbol class RestHighLevelClient
I should add that find ~/. m2 -name "elastic*" produces no results. Try taking your IDE out of the equation and check if...
Read more >Python Elasticsearch Client - Read the Docs
Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries...
Read more >[Fixed] ModuleNotFoundError: No module named 'elasticsearch'
Quick Fix: Python raises the ImportError: No module named 'elasticsearch' when it cannot find the library elasticsearch . The most frequent source of...
Read more >@elastic/elasticsearch - npm
The official Elasticsearch client for Node.js. Latest version: 8.5.0, last published: a month ago. Start using @elastic/elasticsearch in ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Look at the docs and how to define a node: https://fscrawler.readthedocs.io/en/latest/admin/fs/elasticsearch.html#node-settings
I think this is related to https://github.com/dadoonet/fscrawler/issues/928 This is still an open issue…