How Hadoop replication works

0 votes
I am new to Hadoop and I have installed Hadoop in my system. While installing I came across a dfs.replication property in hdfs-site.xml . Can anyone help me understand how this replication factor works?
Apr 19, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
885 views

1 answer to this question.

0 votes

dfs.replication is by default 3 and you can configure it in hdfs-site.xml file (as you have seen it). This is because in Hadoop we use commodity hardware which are more failure prone. This is the reason why we maintain multiple copies of data in HDFS. If a datanode fails, yet you can recover the data from other data nodes. So, for backup we have replica of data blocks stored in HDFS.

 For more information you can refer this HDFS blog:

https://www.edureka.co/blog/apache-hadoop-hdfs-architecture/#replication_management

answered Apr 19, 2018 by Shubham
• 13,490 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How compression works in Hadoop?

It basically depends on the file type ...READ MORE

answered Jul 27, 2018 in Big Data Hadoop by Frankie
• 9,830 points
2,017 views
0 votes
1 answer

How hadoop command works with javac?

Javac is used for compiling your java ...READ MORE

answered Aug 17, 2018 in Big Data Hadoop by Neha
• 6,300 points
2,641 views
0 votes
1 answer

What is -cp command in hadoop? How it works?

/user/cloudera/data1 is not a directory, it is ...READ MORE

answered Oct 17, 2018 in Big Data Hadoop by Frankie
• 9,830 points
4,193 views
0 votes
1 answer

How to set replication factor in Hadoop?

Hi@akhtar, You can find setrep command in the ...READ MORE

answered Oct 1, 2020 in Big Data Hadoop by MD
• 95,460 points
7,945 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,076 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
109,065 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
4,641 views
0 votes
1 answer
0 votes
1 answer

How to change the replication factor of specific directory in Hadoop?

Yes, you can change the replication factor ...READ MORE

answered May 11, 2018 in Big Data Hadoop by Shubham
• 13,490 points
3,691 views
0 votes
1 answer

How to run example codes of Hadoop Definitive Guide book?

You will find multiple git repositories where ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by Shubham
• 13,490 points
1,136 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP