How to provide Elasticity To Hadoop using Python Automation

LVM
LVM infrastructure
Hadoop logs
Attached volume

lvcreate <attached volume name>

PV

vgcreate <volume group name> <PV name>

vgdisplay

vgdisplay

lvcreate — size <SIZE>G -name<NAME> <name of volume group>

LV creation
Mounting Operation

hadoop dfsadmin -report

hadoop logs
Python script

resize2fs <attached volume>

hadoop logs

--

--

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