/plushcap/analysis/datastax/accessing-cassandra-spark-java

Accessing Cassandra from Spark in Java

What's this blog post about?

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

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.