2016-09-27 53 views
3

這裏mergedCrunchAndLinkedIn是我的數據集Elasticsearch中的索引火花數據集<Row>時出錯。

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

enter image description here

+1

答案就在這裏:https://discuss.elastic.co/t/write-es-error-with-spark-2-0-release/56967 – Val

+1

@AshisParajuli你可以發佈什麼錯誤即將到來,你正在使用什麼版本的spark,scala,elasticsearch –

+0

[已解決了一個由Val提供的臨客]謝謝你們 – AshisParajuli

回答

2

使用這個問題將得到解決 編譯組: 'org.elasticsearch',名稱: 'elasticsearch-火花20_2.11',版本: '5.0.0-β1'