단일 노드 클러스터에 Ambari를 설정하려고합니다. 나는이 관련된 모든 게시물, 권한 변경을 시도하고 Ambari 라인 위에서 키 복사 http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Installing_HDP_AMB/content/_set_up_password-less_ssh.htmlAmbari에서 클러스터를 설정할 때 단일 노드 클러스터에 대한 호스트 암호를 확인하십시오.
cd ~/.ssh
rm -rf /root/.ssh
ssh-keygen -t dsa
cat /root/.ssh/id_dsa.pub >> /root/.ssh/authorized_keys
cat /root/.ssh/authorized_keys
클러스터 단계를 설정하는 동안 허가로 설정 않았다 Ambari 설정은 루트 사용자로 이루어졌다
ambari-server restart
내가 등록하고 내가 암호를 부여하지 않고 "ssh를 [email protected]을 할 수 있어요하지만 내가 오류 아래 얻을 lInstall 옵션에 확인하려고
.==========================
Creating target directory...
==========================
Command start time 2017-03-13 03:35:43
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
SSH command execution finished
host=hadoop.maxsjohn.com, exitcode=255
Command end time 2017-03-13 03:35:43
ERROR: Bootstrap of host hadoop.maxsjohn.com fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
STDOUT:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).[Error Message][1]