May 2017
Intermediate to advanced
294 pages
7h 33m
English
$ cd /home/hduser$ spark-ec2 -k <key-pair> -i <key-file> -s <num-slaves> launch <cluster-name><key-pair> - name of EC2 keypair created in AWS<key-file> the private key file you downloaded<num-slaves> number of slave nodes to launch<cluster-name> name of the cluster
$ spark-ec2 -k kp-spark -i /home/hduser/keypairs/kp-spark.pem --hadoop-major- version 2 -s 3 launch spark-cluster
Read now
Unlock full access