简体   繁体   中英

How to connect Cassandra with Spark using Java.

I am new to Spark and need help with implementing a simple program with Spark and connecting to cassandra.

http://spark.apache.org/docs/latest/programming-guide.html

If any one can come up with a working solution and build the above as a JAR file it will be a good kickstart for me.

I have successfully installed Spark as well as Cassandra and both are running on my local machine.

Have a look at the Spark Cassandra connector here .

It has some example programs for Java. It takes some effort to set it up, so you'll need to read the documentation in the github project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM