Spark 1.3 is not supported by elasticsearch-hadoop yet but will be very soon: https://github.com/elastic/elasticsearch-hadoop/issues/400
However in the meantime you could use df.toRDD.saveToEs - though you may have to manipulate the Row object perhaps to extract fields, not sure if it will serialize directly to ES JSON... — Sent from Mailbox On Wed, Mar 25, 2015 at 2:07 PM, yamanoj <[email protected]> wrote: > It seems that elasticsearch-spark_2.10 currently not supporting spart 1.3. > Could you tell me if there is an alternative way to save Dataframes to > elasticsearch? > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/How-do-you-write-Dataframes-to-elasticsearch-tp22223.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
