Support Questions

Find answers, ask questions, and share your expertise

How to change Namenode to a different host without losing data?

avatar
Contributor

I have a 5 node cluster (machines 01-05) with 4 data nodes (02, 03, 04, 05) which is running good. Now I want to upgrade the cluster from 5 nodes to 12 nodes by adding machines (06-12). Now I want to set 06 and 07 and name node and secondary name nodes instead of 01 (which is currently the name node). Can I do this without losing any data on the cluster? What is the best possible way to do this?

1 ACCEPTED SOLUTION

avatar
Guru

Hi @Sree Kupp

There is a great write up here on this topic: https://community.hortonworks.com/articles/65837/migrate-namenode-from-one-machine-to-another-via-a....

Ensure you adequately test this in a non-production environment.

View solution in original post

2 REPLIES 2

avatar
Guru

Hi @Sree Kupp

There is a great write up here on this topic: https://community.hortonworks.com/articles/65837/migrate-namenode-from-one-machine-to-another-via-a....

Ensure you adequately test this in a non-production environment.

avatar
Contributor

Thanks Sonu, that helped 🙂