cookbook-spark Cookbook
Minimalist cookbook to install a pre-built spark package
Based on the cookbook https://github.com/holdenk/chef-cookbook-spark
Requirements
cookbooks
scala
- cookbook-spark needs the scala cookbook.
Attributes
cookbook-spark::default
Key | Type | Description | Default |
---|---|---|---|
['spark']['version'] | String | Version of pre-built package to download | v0.9.0-incubating-bin-hadoop2 |
['spark']['repository'] | String | URL of the repository to download the pre-built spark package | http://d3kbcqa49mib13.cloudfront.net/#{node[:spark][:version]}.tgz |
['spark']['username'] | String | Name of the user used to install spark | root |
['spark']['group'] | String | Name of the group of the user used to install spark | root |
['spark']['home'] | String | Path of the home installation for spark | root |
Usage
cookbook-spark::default
Just include cookbook-spark
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[cookbook-spark]"
]
}
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Fernando Diaz