<commit_before># Hadoop Fair Sojourn Protocol (HFSP)

The Hadoop Fair Sojourn Protocol Scheduler is a size-based scheduler for
Hadoop. A presentation of the scheduler can be found [here](http://www.slideshare.net/melrief/main-34002097).

[![Build Status]( )]

## Compile HFSP

In order to compile HFSP you need [Maven](http://maven.apache.org/). From
the top directory issue the following command:

```
$ mvn package -DskipTests
```

This will create two files in the directory _/target_:
- _hfsp-scheduler-1.0.jar_: a jar file containing the scheduler
- _hfsp-scheduler.xml_: a default configuration file

## Use HFSP

Copy _hfsp-scheduler-1.0.jar_ in your Hadoop directory. Optionally, add the
configuration file for HFSP in the hadoop configuration directory.

Set HFSP as task scheduler in conf/mapred-site.xml:<commit_msg>add travis icon to README.md<commit_after># Hadoop Fair Sojourn Protocol (HFSP)

The Hadoop Fair Sojourn Protocol Scheduler is a size-based scheduler for
Hadoop. A presentation of the scheduler can be found [here](http://www.slideshare.net/melrief/main-34002097).

[![Build Status](https://travis-ci.org/melrief/HFSP.svg?branch=master)](https://travis-ci.org/melrief/HFSP)

## Compile HFSP

In order to compile HFSP you need [Maven](http://maven.apache.org/). From
the top directory issue the following command:

```
$ mvn package -DskipTests
```

This will create two files in the directory _/target_:
- _hfsp-scheduler-1.0.jar_: a jar file containing the scheduler
- _hfsp-scheduler.xml_: a default configuration file

## Use HFSP

Copy _hfsp-scheduler-1.0.jar_ in your Hadoop directory. Optionally, add the
configuration file for HFSP in the hadoop configuration directory.

Set HFSP as task scheduler in conf/mapred-site.xml:
{'fraction_non_alphanumeric': 0.09681093394077449, 'fraction_numerical': 0.01366742596810934, 'mean_word_length': 4.560126582278481, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '6140438', 'n_tokens_mistral': 600, 'n_tokens_neox': 554, 'n_words': 199}