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.

automate adding datanode in hortonworks

Highlighted

automate adding datanode in hortonworks

New Contributor

Team,

Can someone share steps to automate on adding DN & NM.

I tried with below

https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs

I tried installing agent. But i see the below message RUNNING for long time. its not completing . any idea

curl -i -uadmin:admin http://192.168.218.183:8080/api/v1/bootstrap/1 HTTP/1.1 200 OK X-Frame-Options: DENY X-XSS-Protection: 1; mode=block Set-Cookie: AMBARISESSIONID=h08834nky0l13v3s3e939xlz;Path=/;HttpOnly Expires: Thu, 01 Jan 1970 00:00:00 GMT User: admin Content-Type: application/json Vary: Accept-Encoding, User-Agent Content-Length: 108 Server: Jetty(8.1.19.v20160209) {"status":"RUNNING","hostsStatus":[{"hostName":"dn3.discovercts.com","status":"RUNNING","log":""}],"log":""}[root@ambari

2 REPLIES 2

Re: automate adding datanode in hortonworks

New Contributor

It was in RUNNING state for long time. and i dont see the agent installed.

Re: automate adding datanode in hortonworks

@suresh krish

Did you try to install ambari-agent manually or with automated script?