Upgrading java with elasticsearch


I've upgraded Elasticsearch from 7.13 to 7.15 successfully using:

sudo apt-get update && sudo apt-get install elasticsearch

But in the upgrade steps listed in elastic documentation, number 4 ( Java High Level REST Client: dependency configuration) lists that there is a java configuration that should be done.

Upgrade the components of your Elastic Stack in the following order:

  1. Elasticsearch Hadoop: install instructions
  2. Elasticsearch: upgrade instructions
  3. Kibana: upgrade instructions
  4. Java High Level REST Client: dependency configuration
  5. Logstash: upgrade instructions
  6. Beats: upgrade instructions
  7. APM Server: upgrade instructions
  8. Elastic Agent: upgrade instructions

Is java updated automatically when Elasticsearch is updated? or should I do this step alone as it is listed?

honestly I don't understand where should I configure (which files) in Java High Level REST Client: dependency configuration, and is this a must or not.


It means that if you are writing a Java application, which connects to the Elasticsearch cluster you are upgrading, with the HLCLIENT, you should also upgrade it by changing the version in your dependency manager files (pom.xml if you are using Maven).

If you are not in the case I described, just skip that part.

perfect many thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.