Explain to me the difference between Name node and Secondary name node

+1 vote
The Hadoop is considered to be unavailable when the name node is down even when it has a secondary name node.

Is it so that the Secondary name is not enough to back up Hadoop in such scenarios?

Can anyone help me to learn more about it?
May 14, 2019 in Big Data Hadoop by nitinrawat895
• 10,950 points
303 views

1 answer to this question.

+2 votes
Best answer

First of all, let understand what is HDFS and its architecture in order to understand the solution to this question in a better way.

HDFS is a distributed file system which is deployed on low-cost commodity hardware with the following Architecture.

HDFS Topology - Apache Hadoop HDFS Architecture - Edureka

It is not as you predicted, Name node and Secondary name node are two different entities and they are designed for different tasks.

The name node is a master node that contains metadata in terms of FSimage and also contains the edit log. The edit log contains recently added/removed block information in the namespace of the name node. The FSimage file contains metadata of the entire Hadoop system in permanent storage. Every time we need to make changes permanently in FSimage, we need to restart name node so that edit log information can be written at name node, but it takes a lot of time to do that.

A secondary namenode is used to bring fsimage up to date. The secondary name node will access the edit log and make changes in FSimage permanently so that next time name node can start up faster.

Basically, the secondary name node is a helper for the name node and performs housekeeping functionality for the name node.

answered May 14, 2019 by ravikiran
• 4,600 points

selected May 15, 2019 by Omkar

Related Questions In Big Data Hadoop

+1 vote
1 answer

Explain to me the difference between HBase and HDFS

Let's start from scratch. Hadoop basically consists of three ...READ MORE

answered Mar 19, 2019 in Big Data Hadoop by nitinrawat895
• 10,950 points
194 views
0 votes
1 answer

Explain to me the difference between HBase and HDFS.

Hadoop generally consists of three major components: HDFS It ...READ MORE

answered Apr 12, 2019 in Big Data Hadoop by ravikiran
• 4,600 points
370 views
0 votes
1 answer

Explain to me the difference between HadoopHDFS and HBase.

Let me explain the major differences between ...READ MORE

answered May 13, 2019 in Big Data Hadoop by ravikiran
• 4,600 points

edited May 14, 2019 by Omkar 63 views
0 votes
0 answers

Difference between Name node and Secondary Name node

Explain to me the difference between the ...READ MORE

Mar 26, 2019 in Big Data Hadoop by nitinrawat895
• 10,950 points
68 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,883 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,119 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,198 views
0 votes
1 answer
0 votes
1 answer

Explain to me the difference between name node and secondary name node.

Firstly, You need to understand the major ...READ MORE

answered Apr 30, 2019 in Big Data Hadoop by ravikiran
• 4,600 points
174 views
0 votes
2 answers

Explain to me the difference between Name Node and Secondary Name Node

Secondary namenode is just a helper for ...READ MORE

answered Aug 6, 2019 in Big Data Hadoop by Dhiman
337 views