How To Create Hadoop Cluster In Just 10 Minutes ?

How To Create Hadoop Cluster In Just 10 Minutes ?

Hadoop Cluster is use to solve BigData problems. Hadoop is product of Appache and it is very popular in BigData world, facebook is using this to solve there BigData problem to Store there data of user

In 2012, Facebook has revealed that it is generating around 500+ terabytes of data every day. In which 2.7 billion were likes and around 300 million photos per day. Another exciting thing is Facebook is scanning around 105 terabytes of data per each half hour.

So let's see how to build Hadoop cluster to solve bigdata problem

No alt text provided for this image

To create this hadoop cluster we need some basic things first

  1. O.S. ( we are using RedHat 8 )
  2. Hadoop Latest Version
  3. Jdk ( java development kit )
  4. More than one OS ( You can use VM, Cloud )

That's it let's do this

  • First Download Hadoop and JDK
No alt text provided for this image
  • Now Install this with redhat cmd "rpm -i file(hadoop/jdk)"
No alt text provided for this image
No alt text provided for this image
  • Now Configure Hadoop Core and HDFS file to create Cluster
No alt text provided for this image
No alt text provided for this image


After same as this create a client and upload some file and use tcp dump cmd to check uploading of file

No alt text provided for this image

now we see file on webui, for this type ip:50070 on browser

No alt text provided for this image
No alt text provided for this image

Now we check uploading of file in our slave node for this we use tcpdump -i enp0s3 -n -X

No alt text provided for this image

Now Check in your slave node that client ip is coming in your pc to upload file

No alt text provided for this image


if you have more than one slave node than if you stopped one of slave node than also hadoop client is uploading file because it's create replication of file


To prove this we uploaded a big file to see replication, block is showing in the pic is the replication of file

No alt text provided for this image

You can perform this practical alone just create more than instance, like this i done this same on AWS Instance

No alt text provided for this image
No alt text provided for this image



Thank you
No alt text provided for this image




Rhythm Varshney

SDE@OneCard | Java Backend Developer | Problem Solver | Health and Tech

4y

Great

Aaditya Tiwari

DevOps Engineer @Amdocs

4y

Nice work ✨

Shivani Agarwal

Software Developer @ThinkTech Software Inc. | Full Stack | React | Python | DSA

4y

Well presented 🤟

To view or add a comment, sign in

Insights from the community

Others also viewed

Explore topics