How to provide Elasticity to the DataNode Storage Using LVM

Elasticity Task

What is LVM?

What is Elasticity?

Hadoop doesn’t support elasticity so we integrate Hadoop concept with LVM concept.

Now, let’s see how to integrate LVM Concept with Hadoop DataNode

check all the connected device
check all the connected device
Check all the connected device
Install lvm2
Install lvm2
Install lvm2
PV creation
PV creation
PV creation
creation of VG
creation of VG
creation of VG
volume group details.
volume group details.
volume group details.
creation of Logical Volume
creation of Logical Volume
Creation of Logical Volume
shows the formatting
shows the formatting
shows the formatting process
Shows the data node folder(/dn5)
Shows the data node folder(/dn5)
Shows the data node folder(/dn5)
Mounting
Mounting
Mounting on /dn5
Partitoning and mounting Done
Partitoning and mounting Done
Partitioning and mounting Done
10GB Contribution
10GB Contribution
10GB Contribution

GUI view of Hadoop Cluster

Size is 10GB (9.78GB)

Let’s see how can we extend the size of 10GB to 15GB.

10G to 15G increased
10G to 15G increased
10G to 15G increased
10GB to 15 GB Done on the fly.
10GB to 15 GB Done on the fly.
10GB to 15 GB Done on the fly.

GUI view of Hadoop Cluster

Size is 15GB (14.7GB)

CLI View of hadoop Cluster

CLI View of hadoop Cluster
CLI View of hadoop Cluster
CLI View of hadoop Cluster

Conclusion

I am a blogger. Check my blog → technicalej.in