Configuring The Hadoop Cluster Using Ansible

Ansible:

Hadoop :

Hadoop cluster:

image from hadoop.apache.org

Pre-requisites:

  • Ansible Installed In Controller node
  • rpm file of Java Development kit(JDK 8) in the Controller node
  • rpm file of Hadoop in the controller node

Step 1:

vi /etc/ansible/ansible.cfg

Step 2:

ansible-playbook namenode.yml

Step 3:

ansible-playbook datanode.yml

Step 4:

ansible-playbook clientnode.yml

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store