Support Questions
Find answers, ask questions, and share your expertise

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

Highlighted

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

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
Highlighted

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

Expert Contributor

@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.

Highlighted

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

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

Michael-Bronson
Highlighted

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

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

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

Expert Contributor

@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.

Highlighted

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

hi

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

see that


capture.png96721capture.png
Michael-Bronson
Highlighted

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

Super Mentor

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

Highlighted

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

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

capture.png

Michael-Bronson
Highlighted

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

Any idea what it look like disabled?

Michael-Bronson
Highlighted

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

Super 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