Categories

Jan 26 in Big Data | Hadoop
Q:

Explain the difference between NameNode, Backup Node and Checkpoint NameNode. 

1 Answer

Jan 26

 

NameNode: NameNode is at the heart of the HDFS file system which manages the metadata i.e. the data of the files is not stored on the NameNode but rather it has the directory tree of all the files present in the HDFS file system on a hadoop cluster. NameNode uses two files for the namespace-

 

fsimage file- It keeps track of the latest checkpoint of the namespace.

 

edits file-It is a log of changes that have been made to the namespace since checkpoint.

 

Checkpoint Node-

 

Checkpoint Node keeps track of the latest checkpoint in a directory that has same structure as that of NameNode’s directory. Checkpoint node creates checkpoints for the namespace at regular intervals by downloading the edits and fsimage file from the NameNode and merging it locally. The new image is then again updated back to the active NameNode.

 

BackupNode:

 

Backup Node also provides check pointing functionality like that of the checkpoint node but it also maintains its up-to-date in-memory copy of the file system namespace that is in sync with the active NameNode.

big data exam questions and answers

 

 

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

Related questions

Madanswer
Nov 8 in Hadoop
Feb 23 in Big Data | Hadoop
May 31 in Node.Js
...