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 in Big Data Hadoop by nitinrawat895
• 10,710 points
56 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 by ravikiran
• 4,560 points

selected May 15 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 in Big Data Hadoop by nitinrawat895
• 10,710 points
75 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 in Big Data Hadoop by ravikiran
• 4,560 points
186 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 in Big Data Hadoop by ravikiran
• 4,560 points

edited May 14 by Omkar 34 views
0 votes
0 answers

Difference between Name node and Secondary Name node

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

Mar 26 in Big Data Hadoop by nitinrawat895
• 10,710 points
28 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,349 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,594 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,211 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 in Big Data Hadoop by ravikiran
• 4,560 points
60 views
0 votes
2 answers