Support Questions

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

How to add new hosts in extisting cluster whenever All Process are Done Successfull ....

avatar
Explorer

Hi Everyone,

I am gonna adding a new hosts in existing cluster ....All Network Process are done successfully ...after then did't register new hosts by AMBARI....

hdp version details : hdp 2.6 with ambari 2.6

Os - centso7

Please Suggest How to do ,

Your Help is Highly appreciated .

screenshot-from-2018-12-28-18-17-06.pngscreenshot-from-2018-12-28-18-23-15.pngscreenshot-from-2018-12-28-18-40-11.png

1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
12 REPLIES 12

avatar
Master Mentor

@Kunal Kumar

The problem seems to be the incorrect "SSH Private Key". Based on screenshot "screenshot-from-2018-12-28-18-23-15.png" looks like you are pasting the "Public" key content there instead of "Private Key" of the host "hdpnode1.hortonworks.com"

For example the following will be the Private Key: "~/.ssh/id_rsa" adn the content of private key file looks something like following which BEGIN and END marks:

Example:

-----BEGIN RSA PRIVATE KEY-----
ANCDEFGHIJKLMNOPoCUhgGazht5XrPbvkcD
.......
QRSTUVWXYZasdoeruoijlcsd,fns,cjsdklfjo=
-----END RSA PRIVATE KEY-----


Usually Public key file name is "~/.ssh/id_rsa.pub"

Also the Ambari API call is showing 404 because you will need to replace the "$name" with your clustername. You can get your ambari cluster name using the following API call.

http://192.168.1.190:8080/api/v1/clusters

.

avatar
Master Mentor

@Kunal Kumar

Can you share your /etc/hosts files? To me it seems this is the first host in the cluster, what is your cluster name?

avatar
Explorer

@Geoffrey Shelton Okot

Hi Sir Thanks For the reply ...

Sir , You Are Absolutely Right , It is the first host in the cluster ......

also my cluster name is default "Sandbox" , if there is needed for Change this Please suggest the process..

i am new in Hadoop and it is my first experiment on hdp .

Thanks


screenshot-from-2018-12-31-12-27-12.pngscreenshot-from-2018-12-31-12-28-26.png