<commit_before># cdap cookbook

# Requirements

This cookbook assumes that you have several things completed prior to use:
* a working Oracle Java JRE/JDK installed (tested using java cookbook 1.21.2)
* a working Hadoop HDFS and YARN, ZooKeeper, and HBase (tested using hadoop cookbook 1.0.0)
* For `web_app`, node.JS must be installed and `node` must be in the PATH (tested using nodejs cookbook 1.3.0)

# Usage

# Attributes

* `['cdap']['conf_dir']` - The directory used inside `/etc/cdap` and used via the alternatives system. Default `conf.chef`
* `['cdap']['repo']['url']` - Specifies URL for fetching packages
* `['cdap']['repo']['components']` - Repository components to use for APT repositories

# Recipes

* `config` - Configures all services
* `default` - Installs `cdap` base package and performs configuration of `cdap-site.xml`
* `fullstack` - Installs all packages and services on a single node<commit_msg>Update Requirements section<commit_after># cdap cookbook

# Requirements

* Oracle Java JDK 6+ (provided by `java` cookbook)
* Hadoop 2.0+ HDFS, YARN, ZooKeeper, and HBase (provided by `hadoop` cookbook)
* Node.JS 0.8.16+ (provided by `nodejs` cookbook)

# Usage

# Attributes

* `['cdap']['conf_dir']` - The directory used inside `/etc/cdap` and used via the alternatives system. Default `conf.chef`
* `['cdap']['repo']['url']` - Specifies URL for fetching packages
* `['cdap']['repo']['components']` - Repository components to use for APT repositories

# Recipes

* `config` - Configures all services
* `default` - Installs `cdap` base package and performs configuration of `cdap-site.xml`
* `fullstack` - Installs all packages and services on a single node
{'fraction_non_alphanumeric': 0.12261904761904761, 'fraction_numerical': 0.01011904761904762, 'mean_word_length': 4.857142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5572973', 'n_tokens_mistral': 551, 'n_tokens_neox': 514, 'n_words': 199}