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

Unable to configure drive into datanode array

Highlighted

Unable to configure drive into datanode array

Rising Star

Hi.. I am using HDP 2.1.2

I Have 3 data nodes in Dev cluster and one of disk in data node fail so want to replace it..

i have receive below instruction from team

1. Stop the Hadoop services on the node through AMBARI (stop all services).

2. On the node, run "hcli support configureDisk"

3. You will be required to type "yes" at the question about configuring the disk.

4. restart the Hadoop services through AMBARI

But while i am doing Step 2 i got error that

$ hcli support configureDisk

Error: Unable to connect to Ambari on stlts8711:8081: HTTP Error 403: Bad credentials

Can you please help on this...

1 REPLY 1
Highlighted

Re: Unable to configure drive into datanode array

@rama

"hcli support configureDisk" seems to be custom command used in your company/environment.

Below are generic steps to add disk -

1. Add disk to the datanode and make sure its reflected in "df -h" and "fdisk -l"

2. Login to Ambari -> Click on "Services"->HDFS->Configs

3. Over here you can see "DataNode directories". Please add with comma separated list of disk here or replace existing value. Pls find screenshot below -

8802-screen-shot-2016-10-24-at-120444-pm.png

Or

8803-screen-shot-2016-10-24-at-120647-pm.png

Once added - Save and Restart HDFS.

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