-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Sagar Mummidivarapu opened DATAES-339 and commented
I am using spring-boot-starter-web jar in my pom to connect Elastic Search using ElasticSearchRepository<T,T> but getting exception at commandLineRunner
Caused by: org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{127.0.0.1:9300}]
I am using following versions:
Spring Boot Version: 1.5.2 (spring boot starter parent)
Elastic Search : 5.2.2
Same code is working if I point to Elastic Search version 2.4.4
- Any insight why the "spring-boot-starter-data-elasticsearch" not working with latest elastic versions?
- In future every time we upgrade to latest version of ES, should we wait for latest version of "spring-boot-starter-data-elasticsearch" that is compatible?
- Exception like "NoNodeAvailableException" is not clear when the real issue is with ES version compatibility.
Please address these issues at the earliest and highly appreciated for the prompted response.
Also, Please find the attached project. (Excluded target folder due to size restriction in JIRA)
Attachments:
- Elastic-NoTarget.zip (75.88 kB)
0 votes, 5 watchers