- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to change Namenode to a different host without losing data?
- Labels:
-
Apache Hadoop
Created ‎09-22-2017 04:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Created ‎09-22-2017 06:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎09-22-2017 06:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎09-23-2017 12:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Sonu, that helped 🙂
