Python menu program for Hadoop

 Task Descrption

Here we will develop a python and shell script based code to Install and modify the Hadoop.

This program provides easy support with it's menu format.

and also using this, it's very easy to install or modify a Hadoop setup.

Here are some screenshots and working of our code.....


Main Menu - 


Installing Hadoop -

 As we enter choice as 1 is asks confirmation to install Hadoop.

this program will automatically detect the hadoop packages located it respective folder and also that hadoop is installed or not, if not it'll install for you.


Uninstall Hadoop - 


In choice 2 it asks confirmation to  Uninstall hadoop....if we press Y it'll uninstall hadoop...else it'll exit for this option.


Modify Setup -


Modify Setup asks for 2 files to modify, hdfs-site.xml and core-site.xml, the user can modify the file as per his choice. 


hdfs-site.xml - 


if we press 1 it'll open the file hdfs-site.xml located in /etc/hadoop/ folder....user can modify this file as Master or Slave setup.



core-Site.xml -


if we press 2 it'll open the file core-site.xml located in /etc/hadoop/ folder.....user can modify this file by entering IP of the master node.


Task Completed!

Thank you Vimal Daga sir!

Vaibhav Jain

Comments