我試圖在AWS上使用https://github.com/amplab/spark-ec2運行Spark羣集。SSH連接錯誤 - 權限被拒絕(publickey)
我已經生成的密鑰,並和登錄憑據,我使用這個命令:
./spark-ec2 --key-pair=octavianKey4 --identity-file=credentials3.csv --region=eu-west-1 --zone=eu-west-1c launch my-instance-name
不過,我不斷收到這樣的:
Warning: SSH connection error. (This could be temporary.)
Host: mec2-myHostNumber.eu-west-1.compute.amazonaws.com
SSH return code: 255
SSH output: Warning: Permanently added 'ec2-myHostNumber.eu-west-1.compute.amazonaws.com,myHostNumber' (ECDSA) to the list of known hosts.
Permission denied (publickey).
如果我退出控制檯和然後嘗試再次啓動集羣,我得到:
Setting up security groups...
Searching for existing cluster my-instance-name in region eu-west-1...
Found 1 master, 1 slave.
ERROR: There are already instances running in group my-instance-name-master or my-instance-name-slaves
對我無效。 –