I have sucessfuly managed to use elasticsearch-spark with both pyspark and scala spark by simply adding the jar to the classpath. I have noticed that the jar has some runtime dependencies such as protobuf-java and jaxb-api. I am afraid that because I am not explicitly adding these dependencies that something subtle might break and cause unexpected results.
My question is whether it is safe to simply use the jar with elasticsearch spark without adding additional jars or are there side effects to consider? What do these dependencies add to the library? thanks