This cookbook has been tested on the following versions (but may work on earlier ones):
- Chef 12.3.0+
- CentOS 7.0+
- Ubuntu 14.04+
####Recipes
install.rb
- Installs the Apache Hadoop Binariesnn.rb
- Configures and starts the NameNodedn.rb
- Configures and starts the DataNoderm.rb
- Configures and starts the ResourceManagernm.rb
- Configures and starts the NodeManagerjhs.rb
- Configures and starts the JobHistoryServerps.rb
- Configures and starts the ProxyServer
###Karamel usage
This cookbook is karamelized (www.karamel.io). You can launch a Hadoop Cluster using the following yml file. It will create 3 VMs, where one is the master running NameNode, ResourceManager, and Job history server. The two other VMs are workers and will run the DataNode and NodeManager.
name: eu-west-1
cookbooks:
apache_hadoop:
github: "hopshadoop/apache-hadoop-chef"
tag: "v0.1.0"
groups:
namenodes:
size: 1
recipes:
- apache_hadoop::nn
- apache_hadoop::rm
- apache_hadoop::jhs
datanodes:
size: 2
recipes:
- apache_hadoop::dn
- apache_hadoop::nm
Authors:: Jim Dowling. ([email protected]), Marc Bux
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.