Controlling Hadoop Storage

Controlling Hadoop Storage

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Big Data :- Big data is a collection of large datasets that cannot be processed using traditional computing techniques. It is not a single technique or a tool, rather it has become a complete subject, which involves various tools, techniques and frameworks.

Hadoop :- Hadoop is an open source, Java based framework used for storing and processing big data. The data is stored on inexpensive commodity servers that run as clusters. Hadoop uses the MapReduce programming model for faster storage and retrieval of data from its nodes.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

In a Hadoop Cluster, a limited/specific amount of storage can be contributed. This can easily be initiated with the help of partitions in the following ways:-

  • Create a Hadoop cluster containing Name Node and a Data Node
No alt text provided for this image
  • The Data Node in this case with 10GB of storage is mounted on / drive contributing all of its storage to the Master Node. For controlling the storage attach an EBS volume of desired size with the Data Node.
No alt text provided for this image
  • All the disks present in our Data Node can be viewed as follows.
lsblk  or  fdisk -l
No alt text provided for this image
  • An EBS volume /dev/xvdf of 20GB has been attached to the Data Node. Now, its time to create a physical partition of desired size. I have created a partition of size 2GB.
fdisk /dev/xvdf
No alt text provided for this image
  • The next step is formatting the partition being created.
mkfs.ext4 /dev/xvdf1
No alt text provided for this image
  • The final step , mount the partition to our Data Node directory.
mount /dev/xvdf1 /dn1
No alt text provided for this image
  • The limited storage of 2GB being shared can now be viewed easily.
No alt text provided for this image


THANK YOU



Toshine Garg

UTS Australia | Chandigarh University | Pianist

4 年

Excellent work ????Sujagi Verma

Prasant Mahato

DevOps, Cloud & Performance Engineer| DevOps Engineer

4 年

Good work Sujagi Verma

Saurabh Sharma

Open for Contracts | Love Startups

4 年

Short and straight to point. ?

要查看或添加评论,请登录

Sujagi Verma的更多文章

社区洞察

其他会员也浏览了