Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

what are the steps in order to replace faulty disk in datanode

avatar

we have ambari cluster - version 2.6.1

HDP - version 2.6.4

each datanode have 12 disks with 500G size

one of the disk is faulty disk and need to replace it

what are the full steps that required , in order to replace the faulty disk

Michael-Bronson
14 REPLIES 14

avatar
Master Collaborator

@Michael Bronson

Below article help you to replacing faulty disks on datanode.

https://community.hortonworks.com/articles/3131/replacing-disk-on-datanode-hosts.html

Please accept the answer you found most useful.

avatar

in ambari - 2.6.1 - I not see option for Decommission the Datanode

Michael-Bronson

avatar

any way why not just to the follwing steps:

1. stop all data node component

put the host in maintenance mode - I am not sure if this step is needed ?

2. shutdown the datanode machine

3. replace the fault disk

4. start the datanode machine

5. start the datanode components

Michael-Bronson

avatar
Master Collaborator

@Michael Bronson
Decommissioning is a process that supports removing components and their hosts from the cluster. You must decommission a master or slave running on a host before removing it or its host from service. Decommissioning helps you to prevent potential loss of data or disruption of service. Below HDP documentation for Ambari-2.6.1 help you to decommission a DataNode. When DataNode decommissioning process is finished, the status display changes to Decommissioned.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-operations/content/how_to_decommi...

I hope that the above answers your questions.

avatar

hi

what I am saying , is that ambri 2.6.1 not include this

see that


capture.png96721capture.png
Michael-Bronson

avatar
Master Mentor

@Michael Bronson Correction: Replace "Filtered Host" with "Selected Hosts" option in my previous update.

avatar

the option Selected hosts isn't active ( in spite I see it )

capture.png

Michael-Bronson

avatar

Any idea what it look like disabled?

Michael-Bronson

avatar
Master Mentor

@Michael Bronson

(This is just partial answer to your last update)

Decommissioning DataNodes can be done in the following way for Ambari 2.6.1

Ambari UI --> Hosts (Tab) --> "Actions" (Drop down) --> All Hosts / Filtered Hosts (choose based on your need) --> Choose "DataNode" option --> Decommission

.

96722-decommission-datanode-ambari261.png