ubuntu - Failing to add host in Ambari server -


i using single machine set ambari server, can install hadoop. lot of sites referred to. error getting while registering node is:

creating target directory... ==========================  command start time 2017-07-26 14:50:10  permission denied (publickey). ssh command execution finished host=shubham-r528-r728, exitcode=255 command end time 2017-07-26 14:50:11  error: bootstrap of host shubham-r528-r728 fails because previous action finished non-zero exit code (255) error message: permission denied (publickey).  stdout:  permission denied (publickey). 

enter image description here

i have

shubham@shubham-r528-r728:~$ hostname -f shubham-r528-r728 shubham@shubham-r528-r728:~$  

i follow http://linux-sys-adm.com/how-to-install-and-configure-ssh-on-ubuntu-server-14.04-lts-step-by-step/ on root account set ssh key.

the following steps required setting cluster amabari:

  1. setting passwordless ssh
  2. letting ambari make use of this

the symptoms see occur in part 2, judging comment root cause of problem in part 1.

the news when problems not hadoop specific, see typically more people run them, , post solutions.

i not sure whether helps in case (as doing things root), quick search failing add host led me this question, indicated there may right issue on relevant ssh file.

just thinking out of box: if problem host cannot added known hosts file, perhaps can add manually somehow.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -