What is the purpose of the 'secondary NameNode' in HDFS (in older architectures)?
Answer
To merge edit logs with the fsimage to prevent the edit log from becoming too large
Explanation
The Secondary NameNode is not a standby NameNode. Its primary role is to regularly merge the NameNode's edit logs with the fsimage to create a new, up-to-date fsimage, preventing the edit log from growing excessively large.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which type of Flume Channel stores events in memory, making it fast but not durable?
View question →
What is the default behavior of MapReduce if no Combiner is specified?
View question →
Which of the following describes a 'job' in the context of YARN?
View question →
What is the purpose of 'ORC' and 'Parquet' file formats in Hive?
View question →
What is the primary programming language in which Hadoop is written?
View question →
Which type of Flume component is responsible for collecting data from external sources?
View question →