<commit_before>Docker setup for Apache Cassandra
=================================

This repository contains a set of scripts and configuration files to run a Cassandra cluster
from [Docker](https://www.docker.io/) containers. The current version of this repository is
configured to create a Cassandra 1.2 or 2.0 image and cluster.

Cassandra nodes are created with their own IP address and configured hostname:

    $ ./start-cluster.sh 2.0.3 3
    Starting node 1
    Starting node 2
    Starting node 3<commit_msg>Add example session to GitHub README<commit_after>Docker setup for Apache Cassandra
=================================

This repository contains a set of scripts and configuration files to run a Cassandra cluster
from [Docker](https://www.docker.io/) containers. The current version of this repository is
configured to create a Cassandra 1.2 or 2.0 image and cluster.

Example:

![Sample session](https://i.imgur.com/GeoPVWr.gif)

Cassandra nodes are created with their own IP address and configured hostname:

    $ ./start-cluster.sh 2.0.3 3
    Starting node 1
    Starting node 2
    Starting node 3
{'fraction_non_alphanumeric': 0.11528150134048257, 'fraction_numerical': 0.01966041108132261, 'mean_word_length': 4.161290322580645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4681088', 'n_tokens_mistral': 306, 'n_tokens_neox': 280, 'n_words': 137}