Clarification on base dependencies

Do we use the new elasticsearch-java client mentioned below in es-hadoop and es-spark ?

https://mvnrepository.com/artifact/co.elastic.clients/elasticsearch-java/8.5.0

No, es-hadoop does not use the java client. It has its own REST client implementation. The main reason is that it predates the java client and there has not been an effort to update it yet.