- 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 remove a data disk from all data nodes in a running cluster
Created on ‎03-26-2021 02:21 PM - edited ‎03-26-2021 04:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have 5 data nodes with 3*2Tb disk (6 Tb) in each data node with 3 partitions for each node,
/mnt/data1, /mnt/data2 and /mnt/data3.
I need to remove 1 disk (/mnt/data3) on all data nodes, how can I achieve this with minimum downtime.
Current hdfs disk usage is 10 TB
HDP 3.1
Created ‎03-29-2021 12:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @pauljoshiva,
Please review the below post and let us know if that helps
Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎03-29-2021 07:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can update the configuration (remove single disk that you don't need) and perform a restart on one datanode at a time. Ensure that there are no under replicated blocks (namenode UI will show that) in between datanode restarts. I found this to be safest approach.
SDL
