Installs and configures Cloudera's Hadoop + Hive
The cookbook is on a fairly good shape now, it was used to stand up a production cluster. New version is coming which will DRY up the codebase.
- Chef 10
- Redhat, CentOS
node[:hadoop][:version]
- Cloudera "sub version", cloudera provides rpms with version info in the rpm name. Default0.20
node[:hadoop][:release]
- Cloudera release. 3u1, 3u2, etc. Used to derive url path for repo file, if you provide something different make sure the cloudera repos (5 & 6) still supports that version. Default3u3
node[:hadoop][:conf_dir]
- The hadoop config dir used inside /etc/hadoop and referenced via the alternatives system. Defaultconf.chef
node[:hadoop][:namenode_port]
- Port for namenode service. Default54310
node[:hadoop][:jobtracker_port]
- Port for jobtracker service. Default54311
##Rack-aware attributes
node[:hadoop][:rackaware][:datacenter]
- What datacenter is this hadoop node in. Defaultdefault
node[:hadoop][:rackaware][:rack]
- What rack is this hadoop node in. Defaultrack0
node[:hadoop][:yum_repo_url]
- Provide an alternate yum install localtion. If you change this attributenode[:hadoop][:release]
will not be used to derive the yum_repo_url and you are expected to provide a path to a working repo for thenode[:hadoop][:version]
used. Defaultnil
Currently not implamented!node[:hadoop][:yum_repo_key_url]
- Provide an alternate yum repo key location. Defaultnil
Author:: Cliff Erson ([email protected])
Author:: Jamie Winsor ([email protected])
Author:: Istvan Szukacs ([email protected])
Author:: Dani Abel Rayan ([email protected])
Copyright 2012, Riot Games
See LICENSE for license details