Database Reference
In-Depth Information
To test whether we can connect to our new cluster, we can run the following command:
>ssh -i spark.pem
root@ec2-54-227-127-14.compute-1.amazonaws.com
Remember to replace the public domain name of the master node (the address after
root@ in the preceding command) with the correct Amazon EC2 public domain name
that will be shown in your console output after launching the cluster.
You can also retrieve your cluster's master public domain name by running this line of
code:
>./spark-ec2 -i spark.pem get-master test-cluster
After successfully running the ssh command, you will be connected to your Spark master
node in EC2, and your terminal output should match the following screenshot:
Search WWH ::




Custom Search