Integrating LVM with Hadoop and providing Elasticity to DataNode Storage
First of all configure namenode and datanode for hadoop cluster. I have configured it on AWS and shared 10GB storage initially.
I have attached two volumes viz. /dev/xvdb and /dev/xvdc to the datanode in order to demonstrate LVM
Installation of lvm software
Physical volume creation
Volume group creation
Logical Volume creation
for this logical os I have allocated 11 GB of storage.
Lets format and mount this drive
Lets check whether new storage is shared to namenode …