Skip to content

ElasticSearch migration codesprint January 2024

François Prunayre edited this page Jan 8, 2024 · 11 revisions

Participants

  • Jose Garcia
  • Juan Luis Rodriguez Ponce
  • Francois Prunayre

Sponsors

Agenda

The main goal of this sprint is to migrate to ElasticSearch 8

  • Migrate to ES 8 Java client
  • Refactor to improve future migration (ES interactions are done with HTTP Proxy and Java API)
  • Docker configuration update
  • Test with ES v7
    • 7.15 ok

    • 7.5.2 not supported

2024-01-08T08:41:14,205 ERROR [geonetwork.index] - Could not connect to index 'gn-records'. Error is method [PUT], host [http://localhost:9200], URI [/gn-records], status line [HTTP/1.1 406 Not Acceptable]
{"error":"Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported","status":406}. Is the index server  up and running?
2024-01-08T08:41:14,205 ERROR [geonetwork.index] - Error during index creation. Error is: Could not connect to index 'gn-records'. Error is method [PUT], host [http://localhost:9200], URI [/gn-records], status line [HTTP/1.1 406 Not Acceptable]
{"error":"Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported","status":406}. Is the index server  up and running?
Clone this wiki locally