How to change the default replication factor in Hadoop?

0 votes

Hi Guys,

I have configured Hadoop Cluster. I want to change the default replication factor. How can I do that?

Oct 2 in Big Data Hadoop by akhtar
• 33,720 points
65 views

1 answer to this question.

0 votes

Hi@akhtar,

You can change the default replication factor from the Client node. The client can decide what will the replication factor. So go to your Hadoop configuration folder in the client node. You need to set one property in the hdfs-site.xml file as shown below.

<property>
<name>dfs.replication</name>
<value>2</value>
</property>
answered Oct 2 by MD
• 79,930 points

Related Questions In Big Data Hadoop

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,569 views
0 votes
1 answer

How to change the checkpointing duration in Hadoop

Answer: The default duration of checkpointing is 3600 ...READ MORE

answered May 11, 2018 in Big Data Hadoop by Shubham
• 13,450 points
320 views
0 votes
1 answer

How to change the default value and to alter a column in sql?

Hi, You can try this: ALTER TABLE foobar_data CHANGE ...READ MORE

answered Jun 24, 2019 in Big Data Hadoop by Gitika
• 50,620 points
95 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
6,351 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
41,881 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,376 views
0 votes
1 answer
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 in Big Data Hadoop by MD
• 79,930 points
42 views
0 votes
1 answer

How to change default block size in Hadoop Cluster?

Hi@akhtar, You can change the default block size ...READ MORE

answered Oct 2 in Big Data Hadoop by MD
• 79,930 points
37 views