Mirror of Apache Cassandra

Overview

Apache Cassandra

Apache Cassandra is a highly-scalable partitioned row store. Rows are organized into tables with a required primary key.

Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster.

Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.

For more information, see the Apache Cassandra web site.

Requirements

  1. Java >= 1.8 (OpenJDK and Oracle JVMS have been tested)

  2. Python 3.6+ (for cqlsh; 2.7 works but is deprecated)

Getting started

This short guide will walk you through getting a basic one node cluster up and running, and demonstrate some simple reads and writes. For a more-complete guide, please see the Apache Cassandra website’s Getting Started Guide.

First, we’ll unpack our archive:

$ tar -zxvf apache-cassandra-$VERSION.tar.gz
$ cd apache-cassandra-$VERSION

After that we start the server. Running the startup script with the -f argument will cause Cassandra to remain in the foreground and log to standard out; it can be stopped with ctrl-C.

$ bin/cassandra -f

Now let’s try to read and write some data using the Cassandra Query Language:

$ bin/cqlsh

The command line client is interactive so if everything worked you should be sitting in front of a prompt:

Connected to Test Cluster at localhost:9160.
[cqlsh 2.2.0 | Cassandra 1.2.0 | CQL spec 3.0.0 | Thrift protocol 19.35.0]
Use HELP for help.
cqlsh>

As the banner says, you can use 'help;' or '?' to see what CQL has to offer, and 'quit;' or 'exit;' when you’ve had enough fun. But lets try something slightly more interesting:

cqlsh> CREATE KEYSPACE schema1
       WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
cqlsh> USE schema1;
cqlsh:Schema1> CREATE TABLE users (
                 user_id varchar PRIMARY KEY,
                 first varchar,
                 last varchar,
                 age int
               );
cqlsh:Schema1> INSERT INTO users (user_id, first, last, age)
               VALUES ('jsmith', 'John', 'Smith', 42);
cqlsh:Schema1> SELECT * FROM users;
 user_id | age | first | last
---------+-----+-------+-------
  jsmith |  42 |  john | smith
cqlsh:Schema1>

If your session looks similar to what’s above, congrats, your single node cluster is operational!

For more on what commands are supported by CQL, see the CQL reference. A reasonable way to think of it is as, "SQL minus joins and subqueries, plus collections."

Wondering where to go from here?

  • Join us in #cassandra on the ASF Slack and ask questions

  • Subscribe to the Users mailing list by sending a mail to [email protected]

  • Visit the community section of the Cassandra website for more information on getting involved.

  • Visit the development section of the Cassandra website for more information on how to contribute.

Issues
Owner
The Apache Software Foundation
The Apache Software Foundation
Unofficial git mirror of SQLite sources (see link for build instructions)

SQLite Source Repository This repository contains the complete source code for the SQLite database engine. Some test scripts are also included. Howeve

null 1.9k Jan 13, 2022
Mirror of Apache Cassandra

Apache Cassandra Apache Cassandra is a highly-scalable partitioned row store. Rows are organized into tables with a required primary key. Partitioning

The Apache Software Foundation 7k Jan 4, 2022
The Guacamole project is now Apache Guacamole (http://guacamole.apache.org/). This repository has been repurposed as the base for the Apache Guacamole packages built for Glyptodon Enterprise.

------------------------------------------------------------ About this README ------------------------------------------------------------ This REA

Glyptodon, Inc. 1k Dec 9, 2021
Mirror of Apache HTTP Server. Issues: http://issues.apache.org

Apache HTTP Server What is it? ----------- The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally desi

The Apache Software Foundation 2.9k Jan 13, 2022
Mirror of Apache Openmeetings

Apache OpenMeetings provides: video conferencing instant messaging white board collaborative document editing other groupware tools It uses API functi

The Apache Software Foundation 520 Jan 9, 2022
Mirror of Apache Kafka

Apache Kafka See our web site for details on the project. You need to have Java installed. We build and test Apache Kafka with Java 8, 11 and 15. We s

The Apache Software Foundation 20.9k Jan 16, 2022
Mirror of Apache ActiveMQ

Welcome to Apache ActiveMQ Apache ActiveMQ is a high performance Apache 2.0 licensed Message Broker and JMS 1.1 implementation. Getting Started To hel

The Apache Software Foundation 2k Jan 7, 2022
Mirror of Apache ActiveMQ Apollo

The Apollo Project - DEPRECATED This project has died, and is now Deprecated, we strongly recommend you to use ActiveMQ 5.x or ActiveMQ Artemis. Synop

The Apache Software Foundation 144 Dec 21, 2021
Mirror of Apache Qpid

We have moved to using individual Git repositories for the Apache Qpid components and you should look to those for new development. This Subversion re

The Apache Software Foundation 121 Dec 22, 2021
Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch

PostgreSQL Database Management System ===================================== This directory contains the source code distribution of the PostgreSQL da

PostgreSQL 9.5k Jan 15, 2022
Apache Superset is a Data Visualization and Data Exploration Platform

Superset A modern, enterprise-ready business intelligence web application. Why Superset? | Supported Databases | Installation and Configuration | Rele

The Apache Software Foundation 43.8k Jan 15, 2022
Apache Druid: a high performance real-time analytics database.

Website | Documentation | Developer Mailing List | User Mailing List | Slack | Twitter | Download Apache Druid Druid is a high performance real-time a

The Apache Software Foundation 11.5k Jan 20, 2022
An XMPP server licensed under the Open Source Apache License.

Openfire About Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open

Ignite Realtime 2.4k Jan 16, 2022
Source CodeMatrix Console Web - Web client meant to be a showcase of Matrix capabilities, and reference implementation of the Matrix standard. () Apache-2.0 Javascript

Matrix Angular SDK !DANGER! matrix-angular-sdk is not currently being maintained or developed by the core team, and whilst stable it has some serious

matrix.org 28 Nov 14, 2021
An XMPP server licensed under the Open Source Apache License.

Openfire About Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open

Ignite Realtime 2.4k Jan 22, 2022
HTTP web server index for Apache httpd, lighttpd and nginx.

h5ai A modern HTTP web server index for Apache httpd, lighttpd, and nginx. Important Do not install any files from the src folder, they need to be pre

Lars Jung 4.7k Jan 13, 2022
a simple, customisable theme for your apache directory listing

Apaxy apaxy is a customisable theme built to enhance the experience of browsing web directories. It uses the mod_autoindex Apache module - and some cs

null 1.7k Jan 20, 2022
a simple, customisable theme for your apache directory listing

Apaxy apaxy is a customisable theme built to enhance the experience of browsing web directories. It uses the mod_autoindex Apache module - and some cs

null 1.7k Jan 18, 2022
MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.

TileServer PHP: MapTiler and MBTiles maps via WMTS This server distributes maps to desktop, web, and mobile applications from a standard Apache+PHP we

MapTiler 481 Jan 20, 2022
Apache Maven core

Apache Maven Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can man

The Apache Software Foundation 2.9k Jan 12, 2022
Apache Ant is a Java-based build tool.

Apache Ant What is it? ----------- Ant is a Java based build tool. In theory it is kind of like "make" without makes wrinkles and with

The Apache Software Foundation 319 Jan 15, 2022
Apache HBase

Apache HBase [1] is an open-source, distributed, versioned, column-oriented store modeled after Google' Bigtable: A Distributed Storage System for Str

The Apache Software Foundation 4.3k Jan 19, 2022
Verbatim mirror of the git.drupal.org repository for Drupal core. Please see the https://github.com/drupal/drupal#contributing. PRs are not accepted on GitHub.

Drupal is an open source content management platform supporting a variety of websites ranging from personal weblogs to large community-driven websites

Drupal 3.6k Jan 14, 2022
The TYPO3 Core - Enterprise Content Management System. Synchronized read-only mirror of http://git.typo3.org/Packages/TYPO3.CMS.git

TYPO3 CMS TYPO3 is an open source PHP based web content management system released under the GNU GPL. TYPO3 is copyright (c) 1999-2021 by Kasper Skaar

TYPO3 GitHub Department 820 Jan 20, 2022
WordPress, Git-ified. This repository is just a mirror of the WordPress subversion repository.

WordPress, Git-ified. This repository is just a mirror of the WordPress subversion repository.

null 15.8k Jan 18, 2022
mirror http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk

Getting Started This is the core code base for the Calendar and Contacts Server, which is a CalDAV, CardDAV, WebDAV, and HTTP server. For general info

Trevor Wennblom 11 Apr 2, 2018
Mirror of the official Asterisk (https://www.asterisk.org) Project repository. No pull requests here please. Use Gerrit:

The Asterisk(R) Open Source PBX By Mark Spencer <[email protected]> and the Asterisk.org developer community. Copyright (C) 2001-202

The Asterisk Project 1.2k Jan 20, 2022