0 votes
in Big Data | Hadoop by (23.1k points)
What are the main functions of Secondary NameNode?

1 Answer

0 votes
by (30.6k points)

Main functions of Secondary NameNode are as follows:

1. FsImage: It stores a copy of FsImage file and EditLog.

2. NameNode crash: In case NameNode crashes, we can use Secondary NameNode's FsImage to recreate the NameNode.


3. Checkpoint: Secondary NameNode runs Checkpoint to confirm that data is not corrupt in HDFS.

4. Update: It periodically applies the updates from EditLog to FsImage file. In this way FsImage file on Secondary NameNode is kept up to date. This helps in saving time during NameNode restart.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Oct 12, 2019 in Big Data | Hadoop by RShastri (1.7k points)
+1 vote
asked Feb 23, 2020 in Big Data | Hadoop by rahuljain1 (6.0k points)