AshisParajuli AshisParajuli - 1 month ago 21
Java Question

Getting error while indexing a spark Dataset<Row> in Elasticsearch.

Here mergedCrunchAndLinkedIn is my dataset

JavaEsSpark.saveToEs(mergedCrunchAndLinkedIn.toJavaRDD(), "spark/docs1");


enter image description here

Answer

Use this problem will be resolved compile group: 'org.elasticsearch', name: 'elasticsearch-spark-20_2.11', version: '5.0.0-beta1'