Hello Team,
I'm using elasticsearch v7.3.1 with elasticsearch-spark-20_2.11. While submitting the application via spark-submit
it throws java.lang.ArrayStoreException
. Stake-trace as below
Exception in thread "main" java.lang.ArrayStoreException: org.apache.http.HttpHost
at java.util.stream.Nodes$FixedNodeBuilder.accept(Nodes.java:1222)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
I couldn't encountered any version issue in httpclient/httpcore.
Could you please help?
checked the other thread. But nothing worked.
Kindly help.