0

I have a three-node HDFS cluster with a Name Node/Datanode, a Secondary Name Node/Datanode, and a Datanode.

My primary Name Node burned in a fire, but the other two are just fine. How do I shift to the secondary name node and recover the data?

1 Answer 1

0
hdfs name node -backup

try this command it may resolve your problem and check if the secondary name nodes are correctly configured :

   hdfs getconf -secondaryNameNodes
   hdfs getconf -backupNodes

https://github.com/naver/hadoop/blob/master/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md#namenode

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.