# Cassandra

Cassandra is a self-hosted databases app. Cassandra Analytics provides the Cassandra Spark Bulk Reader, an open-source library that lets you run arbitrary Spark jobs against an Apache Cassandra cluster. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/7171/cassandra

## Description

Cassandra Analytics provides the Cassandra Spark Bulk Reader, an open-source library that lets you run arbitrary Spark jobs against an Apache Cassandra cluster. It connects securely to your cluster and loads data into Spark, so data engineers and homelab users can query Cassandra with Spark SQL and build data pipelines without writing custom connectors.

## Platform availability

Available on 1 of 9 platforms: Helm.

## Health score

55/100 (Fair), based on 4 of 4 factors.
- Maintained: 100 (last commit 3 days ago)
- Popular: 33 (43 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 10 (8 GB minimum RAM)

## Links

- Kubernetes (Helm): https://artifacthub.io/packages/helm/bitnami/cassandra
- GitHub: https://github.com/apache/cassandra-analytics
- Official website: https://cassandra.apache.org/

## Common questions

### How do I configure a Spark job to read from Cassandra with the Bulk Reader?

Use the CassandraDataSource and set options such as sidecar contact points, keyspace, table, DC, createSnapshot, and numCores. The example also covers setting up Cassandra 4.0 and Apache Sidecar.

### What database account should I create before relying on a running Cassandra cluster?

Create a named CQL user and keep its password in a safe place. This gives you a clear account to use and helps avoid depending on default access or forgetting how to connect.

### Why can't listen_address be set to 0.0.0.0 so the node listens on all addresses?

Cassandra is a gossip-based distributed system. listen_address is the address a node tells other nodes to reach it at.

### Where are issues for the Cassandra Analytics library tracked?

Issues are tracked in JIRA. Contributions can be discussed on #cassandra-dev in ASF Slack.

## Alternatives

- BunkerWeb: BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
- Caddy: Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and r…
- HFS 2 (HTTP File Server): You can use HFS (HTTP File Server) to send and receive files.
- Microsoft IIS: Internet Information Services (IIS) for Windows® Server is a flexible, secure and easy-to-manage Web server for hosting anything on the Web.
- nginx: Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.

---
Source: Our Local Host (https://ourlocalhost.com/app/7171/cassandra), the self-hosted and open-source app directory.
