Re: Error on ElasticSearch-Hadoop with Scala11

2015-07-04 Thread Deepak Subhramanian
It worked when I added the scala 2.10 dependency to the project.. org.scala-lang scala-library 2.10.1 On Sat, Jul 4, 2015 at 10:31 AM, Deepak Subhramanian wrote: > I am getting error while using es-hadoop with spark on scala11. It > works with the spark-shell binaries I have with s

Error on ElasticSearch-Hadoop with Scala11

2015-07-04 Thread Deepak Subhramanian
I am getting error while using es-hadoop with spark on scala11. It works with the spark-shell binaries I have with scala10 This line generates the error. val esRDD = sc.esRDD("realtimeanalytics/events") This works finaloutput.toJSON.saveJsonToEs("realtimeanalytics/events") Any inputs will be app