Pre-Requisite:- Basic knowledge of Hadoop and Ansible.

In this task, we will see how we can configure entire hadoop cluster using Ansible Playbook. But, first we have to install Ansible on or OS.I am using Redhat Enterprise Linux 8(RHEL8) for this practical. For installing Ansible you can use either of below commands:-

i) yum install ansible -y

ii) pip3 install ansible -y

In order to Configure Hadoop Cluster, we first have to install Java as Hadoop normally works on Java. Thus, we first need to download Java(JDK) and then Hadoop in our Master/Controller node in which Ansible is installed.

Then, you can follow this video below which will help you to setup the entire cluster and it also shows the practical demonstration of this task. In my case, I have have configured my Controller node as Hadoop Master and other 2 Managed Nodes as Slaves which will contribute their storage to the Master.

You can also refer this Github URL attached below to see and refer my entire YAML code.





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

I’m ‘Fluttered’!

Fixing macOS Catalina’s mess when trying to compile almost any R package

Cloud IoT: Data Visualization

Lolcat: Rainbow Animation in Ruby

5 Ways Serverless Can Revolutionize Software Development

5 Lesser Known Useful Linux Commands

Hire cross-platform app developer in ahmedabadFlutter — The Best Cross-Platform Mobile Application…

Flash Stock Rom on Infinix surf spice x403

Flash Android phone

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
Aditya Pande

Aditya Pande

More from Medium

OCI DevOps Build Pipeline for Functions

Azure Devops YAML File Transformation Task for JSON File End to End

Use Ansible to customize AWS EMR through bootstrap actions

Simple multi-stage CICD YAML pipeline for Azure DevOps