New Contributor
Posts: 2
Registered: ‎02-21-2017

Hardware maintenance



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.

Posts: 777
Registered: ‎05-16-2016

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 

New Contributor
Posts: 2
Registered: ‎02-21-2017

Re: Hardware maintenance

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.