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
• 10,950 points
225 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,450 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 26, 2018 in Big Data Hadoop by Frankie
• 9,810 points
556 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
862 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
817 views
0 votes
1 answer

How to sync Hadoop configuration files to multiple nodes?

For syncing Hadoop configuration files, you have ...READ MORE

answered Jun 21, 2018 in Big Data Hadoop by HackTheCode
400 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
• 10,950 points
5,894 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
37,223 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,320 points
2,201 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 10, 2018 in Big Data Hadoop by Shubham
• 13,450 points
1,442 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,450 points
322 views