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

Hardware maintenance

Hardware maintenance

New Contributor



Need to perform hardware maintenance(not disk related) on a datanode. 


- Is decommisioning a datanode is required if maintenance is only for a single datanode?(Decommission is taking ~1hour)


- If multiple datanodes on the maintenance schedule, decommissioning datanodes before maintenance is required?


Which is the ideal approach?


Appreciate your thoughts on this.


Re: Hardware maintenance


It’s a bad idea to stop single or multiple Datanode daemons or shutdown . 

could you please let me know how are you performing the decommission ? 

are you performing the decommission by adding the host address in the exclude file ? 


after peforming hardware shutdown , it recommend to run the hdfs balancer 

Re: Hardware maintenance

New Contributor

Thank you @csguna for the reply!


Decommissiong the node is through cloudera manager. It used to take ~1hr for block replication from that node.

Instead planning to stop roles on the host(number of hosts is < 3 for maintenance) and shutdown without decommissioning(something like server crash). Hoping under replicated blocks from that maintenance hosts will take care periodically by namenode without waiting for decommission process to complete as it is resilient to handle the missing blocks. Maintenance is not related to disk.


Is this approach is ideal if number of maintenance datanode is less than 3 as rep factor is 3?


Please advise your thoughts.



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