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 15, 2019 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,426 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 15, 2019 by ravikiran
• 4,620 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
• 11,380 points
769 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,620 points
1,753 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,620 points

edited May 14, 2019 by Omkar 388 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
• 11,380 points
357 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
• 11,380 points
10,558 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,213 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,390 points
4,260 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,620 points
1,179 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
3,469 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP