- 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 permanently remove disk from hdfs?
Created ‎05-16-2018 09:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
Can you please help to permanently remove a disk from all the datanodes in working cluster.
DataNode directories
/grid/0,/grid/2,/grid/3,/grid/4,/grid/5,/grid/6,/grid/7,/grid/8,/grid/9,/grid/10,/grid/11,/grid/12,/grid/14,/grid/15
I would like to remove /grid/15.
Thanks in advance!!
with regards,
Gulshan
Created ‎05-16-2018 09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Gulshan Agivetova You can remove the directory from this property through ambari : dfs.datanode.data.dir and do a rolling restart of datanodes. Make sure you don't have any missing/under-replicated blocks before restarting the new datanode.
Created ‎05-16-2018 09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Gulshan Agivetova You can remove the directory from this property through ambari : dfs.datanode.data.dir and do a rolling restart of datanodes. Make sure you don't have any missing/under-replicated blocks before restarting the new datanode.
Created ‎05-16-2018 09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, great! Thank you very much Sandeep!!
