Does NameNode provide with the IP address of data nodes where replication of data is to be stored?

0 votes
In HDFS file write architecture, the client contacts the Name Node(NN). NN provides the IP address of Data Node(say Data Node. Does NN also provide with the IP address of data nodes where replication of data is to be stored OR  whether Data Node 1 (here) itself selects the other data nodes where replication is to be stored based on proximity(nearest Data Node)?
Jun 20 in Big Data Hadoop by Fez
19 views

1 answer to this question.

0 votes
No, the data node does not select other data nodes where the replication is to be stored. The name node does that based on proximity. The importance of this knowledge relies on this assumption that collocated data nodes inside a specific rack will have more bandwidth and less latency whereas two data nodes in separate racks will have comparatively less bandwidth and higher latency.
answered Jun 20 by Kim

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
0 answers

Is the Hadoop scalability linear or proportional to number of nodes?

Is it common to see this sentence: ...READ MORE

Nov 27, 2018 in Big Data Hadoop by Jins
• 140 points
163 views
0 votes
1 answer

What is the command to know the details of your data created in a table in Hive?

Hey, Yes, there is a way to check ...READ MORE

answered May 14 in Big Data Hadoop by Gitika
• 25,340 points
148 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
• 10,710 points
3,295 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,710 points
390 views
0 votes
10 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,209 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,260 points
1,182 views
0 votes
11 answers

What is the default Namenode port of HDFS. Is it 8020 or 9000 or 50070?

8020/9000 hadoop namenode metadata port number. or ...READ MORE

answered Dec 31, 2018 in Big Data Hadoop by SM
12,892 views
+2 votes
1 answer

How to calculate Maximum salary of the employee with the name using the Map Reduce Technique

Please try the below code and it ...READ MORE

answered Jul 25, 2018 in Big Data Hadoop by Neha
• 6,280 points
596 views