.NET Apache Spark write to ElasticSearch #788
Replies: 2 comments
-
I haven't used it so can't confirm if this works but if you can get the elastic search hadoop jar and use this to write then it should work:
Download: https://www.elastic.co/downloads/hadoop Inside the download is "elasticsearch-spark-20_2.11-7.10.0.jar" pass that to your Apache Spark job when you submit your .NET for Apache Spark application using "--jars /path/to/elasticsearch-spark-20_2.11-7.10.0.jar" The code was adopted from https://docs.databricks.com/data/data-sources/elasticsearch.html The other examples for writing to ES all seem to use the RDD API which isn't available today. |
Beta Was this translation helpful? Give feedback.
-
@GoEddie tnx. |
Beta Was this translation helpful? Give feedback.
-
Does .NET for Apache Spark supports writing to Elastic Search?
If not, do you have a hint when that might be available?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions