Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch version update #28

Open
GeryNi opened this issue Apr 22, 2024 · 0 comments
Open

Elasticsearch version update #28

GeryNi opened this issue Apr 22, 2024 · 0 comments

Comments

@GeryNi
Copy link

GeryNi commented Apr 22, 2024

The version of Elasticsearch mentioned in the documentation (see: ) references docker.elastic.co/elasticsearch/elasticsearch:6.6.0

However SpringBoot 2.4.6 relies on Spring 5.3.7, which requires Elasticserach version 7.17.3:

Could update the recoomandations listed in the documentation?

Kind regards,
Géry.

Using Elastic version 6.6.0 resulted in the following exception:

Caused by: org.elasticsearch.client.ResponseException: method [PUT], host [http://localhost:9200], URI [/_template/landsat-8-l1-template?master_timeout=30s&include_type_name=true], status line [HTTP/1.1 400 Bad Request] 
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_template/landsat-8-l1-template] contains unrecognized parameter: [include_type_name]"}],"type":"illegal_argument_exception","reason":"request [/_t
emplate/landsat-8-l1-template] contains unrecognized parameter: [include_type_name]"},"status":400}
                at org.elasticsearch.client.RestClient$1.completed(RestClient.java:552)
                at org.elasticsearch.client.RestClient$1.completed(RestClient.java:537)
                at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122)
                at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181)
                at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448)
                at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338)
                at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265)
                at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
                at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
                at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
                at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
                at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
                at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
                at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
                at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
                at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
                at java.base/java.lang.Thread.run(Thread.java:829)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant