Version information
Start using this module
Add this module to your Puppetfile:
mod 'wtanaka-hadoop', '0.0.22'
Learn more about managing modules with a PuppetfileDocumentation
Puppet module for deploying Hadoop MapReduce Next Generation on cluster
This module deploys Hadoop MapReduce Next Generation on a cluster of machines. It is tested on Apache Hadoop 2.2.0 under puppet agent/master environment. It is based on bcarpio/hadoop 0.0.3.
Building:
(cd ..; puppet module build puppet-hadoop)
Usage:
Install this module on your puppet master node by:
sudo puppet install wtanaka-hadoop.
In site.pp, define:
node 'your hadoop slave nodes' {
include java
include hadoop::cluster::slave
}
node 'your hadoop master node' {
include java
include hadoop::cluster::master
}
For pseudo-distributed mode of Hadoop, put following codes in a .pp file (e.g. hadoop.pp).
include java
include hadoop::cluster::pseudomode
Then,
sudo puppet apply hadoop.pp
Hadoop Distribution:
This puppet module will automatically download Apache Hadoop distribution from one pre-defined Apache Mirror site. If you are like to use faster mirror site, please modify the URL in init.pp.
Parameters:
Some parameters are able to modify in params.pp. You should modify the parameters such as 'master', 'resourcemanager' and 'slaves' to reflect your hadoop cluster settings.
SSH keys:
Remember to generate your ssh keys and put the keys in files/ssh/.
Note: Since master deployment will run hadoop scripts to launch hadoop services on slaves nodes, please deploy hadoop slaves first. When all slaves are deployed, then deploy master node.
Dependencies
- puppetlabs/java (1.3.0)
- puppetlabs/stdlib (>= 3.2.0)
Copyright (C) 2013 Liang-Chi Hsieh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.