July 2017
Intermediate to advanced
796 pages
18h 55m
English
Now you master and worker nodes are active and running. This means that you can submit your Spark job to them for computing. However, before that, you need to log in the remote nodes using SSH. For doing so, execute the following command to SSH remote Spark cluster:
$ SPARK_HOME/spark-ec2 --key-pair=<name_of_the_key_pair> --identity-file=<path_of_the _key_pair> --region=<region> --zone=<zone>login <cluster-name>
For our case, it should be something like the following:
$ SPARK_HOME/spark-ec2 --key-pair=my-key-pair --identity-file=/usr/local/key/aws-key-pair.pem --region=eu-west-1 --zone=eu-west-1login ec2-spark-cluster-1
Now copy your application, that is, JAR file (or python/R script) to the ...
Read now
Unlock full access