Hadoop NameNode is a single point of failure. By configuring SecondaryNameNode, the filesystem image and edit log files can be backed up periodically. And in case of NameNode failure, the backup files can be used to recover the NameNode. In this recipe, we will outline steps to configure SecondaryNameNode.
We assume that Hadoop has been configured correctly.
Log in to the master node from the cluster administration machine using the following command:
Perform the following steps to configure SecondaryNameNode:
<property> <name>fs.checkpoint.dir</name> ...