commit | cbae09ca71b9eb9a581b77c23844da21474b095a | [log] [tgz] |
---|---|---|
author | Francisco Guerrero <frankgh@apache.org> | Wed Jun 14 11:52:55 2023 -0700 |
committer | Bereng <berenguerblasi@gmail.com> | Tue Jun 27 07:27:24 2023 +0200 |
tree | e17af4561fc3bb693e71ea929a58b1f52d8a4e38 | |
parent | bd0b41fb82134844a15fbb43126424d96706d08e [diff] |
CASSANDRA-18600 Add NOTICE.txt file The NOTICE.txt file is currently missing in the repository. This commit adds the file to comply with ASF's guidance. patch by Francisco Guerrero; reviewed by Dinesh Joshi, Michael Semb Wever, Berenguer Blasi for CASSANDRA-18600
The open-source repository for the Cassandra Spark Bulk Reader. This library allows integration between Cassandra and Spark job, allowing users to run arbitrary Spark jobs against a Cassandra cluster securely and consistently.
This project contains the necessary open-source implementations to connect to a Cassandra cluster and read the data into Spark.
For example usage, see the example repository; sample steps:
import org.apache.cassandra.spark.sparksql.CassandraDataSource import org.apache.spark.sql.SparkSession val sparkSession = SparkSession.builder.getOrCreate() val df = sparkSession.read.format("org.apache.cassandra.spark.sparksql.CassandraDataSource") .option("sidecar_instances", "localhost,localhost2,localhost3") .option("keyspace", "sbr_tests") .option("table", "basic_test") .option("DC", "datacenter1") .option("createSnapshot", true) .option("numCores", 4) .load()
The Cassandra Spark Bulk Writer allows for high-speed data ingest to Cassandra clusters running Cassandra 3.0 and 4.0.
If you are a consumer of the Cassandra Spark Bulk Writer, please see our end-user documentation: usage instructions, FAQs, troubleshooting guides, and release notes.
Developers interested in contributing to the SBW, please see the DEV-README.
For example usage, see the example repository. This example covers both setting up Cassandra 4.0, Apache Sidecar, and running a Spark Bulk Reader and Spark Bulk Writer job.