Accessing Cassandra from Spark in Java
This text discusses how to use the Spark Cassandra Connector, which has been moved to open-source on GitHub (datastax/spark-cassandra-connector). The connector is primarily used in Scala but can also be utilized in Java. A new module providing a Java API for the connector has been created. This tutorial demonstrates how to access Apache Cassandra™ via Apache Spark™ from Java applications using this new API. It covers creating a simple application that reads sales information and computes roll-up summaries for a products hierarchy, generating data, computing summaries, displaying results, and saving the data to Cassandra. The tutorial also provides links to further documentation and source code.
Company
DataStax
Date published
Aug. 26, 2014
Author(s)
Jacek Lewandowski
Word count
983
Hacker News points
None found.
Language
English