Created on 03-06-2018 02:39 PM - edited 08-18-2019 01:56 AM
I am trying to install hdp locally on ubuntu 16.04. I installed ambari, i launched the cluster installed wizzard,I Used Local Repository, here i left it empty i don't know what i have to put. then i entred my host 'hadoop' and i entred the 'ssh private key'. In the end of all I get an error during installation of 'Ambari' agent like its showing in the picture below.
,
I am trying to install hdp locally on ubuntu 16.04. I installed ambari, i launched the cluster installed wizzard,I Used Local Repository, here i left it empty i don't know what i have to put. then i entred my host 'hadoop' and i entred the 'ssh private key'. In the end of all I get an error during installation of 'Ambari' agent like its showing in the picture below.
Created 03-06-2018 05:40 PM
Hi,
When registering host go with Manual Installation.
and edit /etc/ambari-agent/conf/ambari-agent.ini
change hostname=ambari server name
Then Retry Failed.
Created 03-06-2018 02:42 PM
Can you click on 'Failed' and share the error shown?
Created 03-06-2018 06:51 PM
ssh: connect to host hadoop port 22: Connection refused SSH command execution finished host=hadoop, exitcode=255 Command end time 2018-03-06 19:50:20 ERROR: Bootstrap of host hadoop fails because previous action finished with non-zero exit code (255) ERROR MESSAGE: ssh: connect to host hadoop port 22: Connection refused STDOUT: ssh: connect to host hadoop port 22: Connection refused
Created 03-06-2018 05:40 PM
Hi,
When registering host go with Manual Installation.
and edit /etc/ambari-agent/conf/ambari-agent.ini
change hostname=ambari server name
Then Retry Failed.
Created 03-06-2018 07:33 PM
$ ambari-agent start
ambari-agent: command not found
Created 03-06-2018 09:32 PM
if you are doing manual installation, you need to install ambari-agent first on each of your servers. use repos to install and edit the /etc/ambari-agent/conf/ambari-agent.ini to use the ambari server hostname and start ambari-agent.
when you are adding your hosts, use manual installation .. you dont need ssh key in this case.
Created 03-06-2018 10:37 PM
awesome it works, thank you very much!
Created 03-07-2018 05:09 AM
The issue is due to 'Connection refused on the default ssh port'. Verify the following:
1. Check the ssh port under file /etc/ssh/sshd_config, if not set try setting to 22.
2. Try running ssh to the host from terminal.