java.lang.ClassNotFoundException: org.apache.spark.Partition$class

I have been trying to access or read Elasticsearch data into an RDD using code below

val es_rdd = sc.esRDD("spark/docs", "?q=me*") 

but I recieved an error which is mentioned in the title. Am I missing something here just to access data of a simple index and by the way my elasticsearch spark configutrations are these "9200" 5m "50" "spark/docs" "spark/docs" writestoday "true" "?q=costinl" "true" "true" "false"

Write is working perfectly.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.