amazon ec2 - Adding new Spark workers on AWS EC2 - access error -


i have existing oeprating spark cluster launched spark-ec2 script. i'm trying add new slave following instructions:

  • stop cluster
  • on aws console "launch more this" on 1 of slaves
  • start cluster

although new instance added same security group , can ssh same private key, spark-ec2 ... start call can't access machine reason:

running setup-slave on cluster nodes mount filesystems, etc...

[1] 00:59:59 [failure] xxx.compute.amazonaws.com

exited error code 255 stderr: permission denied (publickey).

, obviously, followed tons of other errors while trying deploy spark stuff on instance.

the reason spark master machine doesn't have rsync access new slave, 22 port open...

the issue ssh key generated on spark master not transferred new slave. spark-ec2 script start command omits step. solution use launch command --resume options. ssh key transferred new slave , goes smooth.

yet solution add master's public key (~/.ssh/id_rsa.pub) newly added slaves ~/.ssh/authorized_keys. (got advice on spark mailing list)


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -