In ambari install options should I add Ambari-Server IP/hostname?

312 Views Asked by At

I'm newbie to ambari, I followed hortronworks tutorial on how to install ambari. My question is in the step of install options, should I set hostname of server and agent or just agent? (because when I set only the agent It pass otherwise it fail!)

thank you in advance

1

There are 1 best solutions below

4
On BEST ANSWER

You have to give the IPs of all the nodes/hosts.

If its not working on your Server node then its mostly because your ssh authorized_key step wasn't completed on that node.

Do cat id_rsa.pub >> authorized_keys on your Server node(in the .ssh dir).

(Do not touch any other ssh keys)

Try to ssh to your Server node from the same node. If it works without a password then you have fixed it.