Closed janish-parikh closed 3 years ago
Please advice
I would change the configuration to .option('spark.jars.packages','org.elasticsearch:elasticsearch-hadoop:7.10.2')
instead of the spark.driver.extraClassPath
, or add spark.executor.extraClassPath
pointing to the same jar.
Other than that, please add your elasticsearch connector related questions in the https://github.com/elastic/elasticsearch-hadoop repository.
I am trying to get data from elasticsearch server using pyspark but I am getting the following error: My code:
ERROR OUTPUT: