Created 05-16-2018 09:14 AM
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
@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
@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
Oh, great! Thank you very much Sandeep!!