We have scheduled backup jobs running for directory defined in "dfs.namenode.name.dir" for both active and standby namenodes.
How can I restore a failed namenode using the backup.
Does copying the backups to directory defined in "dfs.namenode.name.dir" and changing the ownerships would do ?
Just copying the fsimage and fsimage.md5 to the "dfs.namenode.name.dir" directory with proper permissions should be enough to restore the NN from backup.
Thanks for the info. Could you please help me with the below queries as well :