<commit_before># Chronos
Distributed and fault-tolerant scheduler for Apache Mesos.

https://github.com/mesosphere/chronos

Installed from [Mesosphere](https://mesosphere.com) [repository](https://mesosphere.com/downloads/#repository-setup)


## versions:
* chronos 2.2.0-0.1.20141002204602
* mesos 0.20.1-1.0.debian75


## example:

### running from command line
```
docker run -d tomaskral/chronos  --master zk://zoo1:2181,zoo2:2181,zoo3:2181/mesos --zk_hosts zk://zoo1:2181,zoo2:2181,zoo3:2181
```

### running on Marathon
```
{
    "id": "/chronos",
    "instances": 1,
    "cpus": 0.1,
    "mem": 512,
    "args": ["--master", "zk://zoo1:2181,zoo2:2181,zoo3:2181/mesos", "--zk_hosts", "zk://zoo1:2181,zoo2:2181,zoo3:2181"],
    "container": {
        "type": "DOCKER",
        "docker": {
            "image": "tomaskral/chronos",
            "network": "BRIDGE",
            "portMappings": [
                {
                    "containerPort": 8080,
                    "hostPort": 0,
                    "protocol": "tcp"
                }
            ]
        }
    }
}
```
<commit_msg>mesoso/chronos #3 add shell:false to Marathon app definition<commit_after># Chronos
Distributed and fault-tolerant scheduler for Apache Mesos.

https://github.com/mesosphere/chronos

Installed from [Mesosphere](https://mesosphere.com) [repository](https://mesosphere.com/downloads/#repository-setup)


## versions:
* chronos 2.2.0-0.1.20141002204602
* mesos 0.20.1-1.0.debian75


## example:

### running from command line
```
docker run -d tomaskral/chronos  --master zk://zoo1:2181,zoo2:2181,zoo3:2181/mesos --zk_hosts zk://zoo1:2181,zoo2:2181,zoo3:2181
```

### running on Marathon
```
{
    "id": "/chronos",
    "instances": 1,
    "cpus": 0.1,
    "mem": 512,
    "shell": "false",
    "args": ["--master", "zk://zoo1:2181,zoo2:2181,zoo3:2181/mesos", "--zk_hosts", "zk://zoo1:2181,zoo2:2181,zoo3:2181"],
    "container": {
        "type": "DOCKER",
        "docker": {
            "image": "tomaskral/chronos",
            "network": "BRIDGE",
            "portMappings": [
                {
                    "containerPort": 8080,
                    "hostPort": 0,
                    "protocol": "tcp"
                }
            ]
        }
    }
}
```

{'fraction_non_alphanumeric': 0.18041464490516101, 'fraction_numerical': 0.08689898544331716, 'mean_word_length': 2.3303964757709252, 'pattern_counts': {'":': 29, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2451257', 'n_tokens_mistral': 966, 'n_tokens_neox': 830, 'n_words': 135}