<commit_before># elasticsearch-mesos

## Overview

This Apache Mesos framework allows you to utilize your Mesos cluster to run Elasticsearch.

The framework is composed of a Driver node and a set of slaves.

The driver will do all the heavy lifting like downloading Elasticsearch to the worker nodes, making the cluster configuration available to the slaves via HTTP, and monitoring the instances. It will automatically modify the configuration files to include the known Elasticsearch instances to be used for unicast peer discovery via a template variable.

## Prerequisites

- Access to a cluster running Apache Mesos version `0.15.0`+
- Java
- Maven
- wget

## Tutorial

1. Download the distribution from the Mesosphere [download server](http://downloads.mesosphere.io/elasticsearch/elasticsearch-mesos-0.90.10-1.tgz).

1. Untar it onto the driver machine   
   ```tar xzf es-mesos-*.tgz```

1. Edit ```conf/mesos.yaml``` and replace it with your Mesos settings.

1. Edit ```conf/elasticsearch.yaml``` and replace it with your Elasticsearch settings.

1. Start the driver to initiate launching Elasticsearch on Mesos    
   `bin/elasticsearch-mesos`

## Configuration Values

### mesos.executor.uri
Adjust this if you want the nodes to retrieve the distribution from somewhere else

Default: ```http://downloads.mesosphere.io/elasticsearch/elasticsearch-mesos-0.90.10-1.tgz```

#### mesos.master.url  
Change this setting to point to your Mesos Master. The default works for a local Mesos install.

Default: ```zk://localhost:2181/mesos```

#### java.library.path
Change this to the path to where the mesos native library is installed.

Default: ```/usr/local/lib/libmesos.so```

#### cassandra.noOfHwNodes
How many hardware nodes we want to run this Cassandra cluster on. Cassandra requires to have the same ports for all of its cluster members. This prevents multiple nodes from the same Cassandra cluster to run on a single physical node.
<commit_msg>Updated old (cassandra) config name in the README.<commit_after># elasticsearch-mesos

## Overview

This Apache Mesos framework allows you to utilize your Mesos cluster to run Elasticsearch.

The framework is composed of a Driver node and a set of slaves.

The driver will do all the heavy lifting like downloading Elasticsearch to the worker nodes, making the cluster configuration available to the slaves via HTTP, and monitoring the instances. It will automatically modify the configuration files to include the known Elasticsearch instances to be used for unicast peer discovery via a template variable.

## Prerequisites

- Access to a cluster running Apache Mesos version `0.15.0`+
- Java
- Maven
- wget

## Tutorial

1. Download the distribution from the Mesosphere [download server](http://downloads.mesosphere.io/elasticsearch/elasticsearch-mesos-0.90.10-1.tgz).

1. Untar it onto the driver machine   
   ```tar xzf es-mesos-*.tgz```

1. Edit ```conf/mesos.yaml``` and replace it with your Mesos settings.

1. Edit ```conf/elasticsearch.yaml``` and replace it with your Elasticsearch settings.

1. Start the driver to initiate launching Elasticsearch on Mesos    
   `bin/elasticsearch-mesos`

## Configuration Values

### mesos.executor.uri
Adjust this if you want the nodes to retrieve the distribution from somewhere else

Default: ```http://downloads.mesosphere.io/elasticsearch/elasticsearch-mesos-0.90.10-1.tgz```

#### mesos.master.url  
Change this setting to point to your Mesos Master. The default works for a local Mesos install.

Default: ```zk://localhost:2181/mesos```

#### java.library.path
Change this to the path to where the mesos native library is installed.

Default: ```/usr/local/lib/libmesos.so```

#### elasticsearch.noOfHwNodes
How many hardware nodes we want to run this Cassandra cluster on. Cassandra requires to have the same ports for all of its cluster members. This prevents multiple nodes from the same Cassandra cluster to run on a single physical node.

{'fraction_non_alphanumeric': 0.07910032853171595, 'fraction_numerical': 0.012635835228708618, 'mean_word_length': 4.370420624151968, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5125359', 'n_tokens_mistral': 1082, 'n_tokens_neox': 1060, 'n_words': 495}