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
403 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,480 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,810 points
820 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
1,467 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,810 points
1,827 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,320 points
1,593 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
8,043 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
66,988 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,390 points
3,059 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,480 points
2,104 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,480 points
517 views