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
• 9,610 points
29 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 12,890 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,710 points
85 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,180 points
213 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,710 points
237 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
123 views
0 votes
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
• 9,610 points
1,872 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
9,348 views
0 votes
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,240 points
675 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
• 12,890 points
112 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
• 12,890 points
77 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.