Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
New Member

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
New Member

Thanks Sonu, that helped 🙂