🔰 Configure Hadoop and start cluster services using Ansible Playbook

In this task we will configure 1 namenode and 1 datanode and start the cluster services using ansible playbook.

1)we need to write IP and give access to our ansible on which we want to configure hadoop. I have make one directory in root folder name /playbook . Then I have update the IP.txt file = inventory file .

2) Here is the configuration file of ansible where we need to give the location of our IP.txt file location ( inventory file location )

3)Now i have created playbook name task11_1.yml in directory /root/playbook

4) Here is the file cnn.xml ,hnn.xml ,hdn.xml.

5)Running playbook.

6) Here is Result or namenode service is started

7) Here is our datanode connected to namenode