How to copy data from Cassandra to Elasticsearch?
<p>How can I copy data from Cassandra to Elasticsearch? Should I use Spark, is there some convenient plugin/other tool to do it?</p>

<p>Cassandra version is 2.1.5 dsc</p>

<p>Spark version is 1.2.1</p>

<p>Elasticsearch version is 2.2.0 </p>

<p><strong>EDIT</strong>:</p>

<p>Im trying to achieve that with spark:</p>

<pre><code>import org.elasticsearch.spark._
import org.elasticsearch.spark.rdd.EsSpark

json_rdd = ...
EsSpark.saveToEs(json_rdd, "index_name")
</code></pre>

<p>Im trying to follow the <a href="https://www.elastic.co/guide/en/elasticsearch/hadoop/2.2/spark.html" rel="nofollow">https://www.elastic.co/guide/en/elasticsearch/hadoop/2.2/spark.html</a> documntation but I cant find where is the connection to elasticsearch happening?</p>