Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution
Highlighted

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

Explorer

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

Accepted Solutions
Highlighted

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

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
Highlighted

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

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

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

Explorer

Thanks Sonu, that helped :)

Don't have an account?
Coming from Hortonworks? Activate your account here