fery / spark-cookbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Fernando Diaz

About


Languages

Language:Ruby 100.0%