From 5ac4093c9fa29a11e38f884eebb3f5db087de76f Mon Sep 17 00:00:00 2001 From: "Allan Douglas R. de Oliveira" Date: Wed, 27 Aug 2014 12:43:22 -0700 Subject: SPARK-3259 - User data should be given to the master Author: Allan Douglas R. de Oliveira Closes #2162 from douglaz/user_data_master and squashes the following commits: 10d15f6 [Allan Douglas R. de Oliveira] Give user data also to the master --- ec2/spark_ec2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ec2') diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index 77a246fffe..ddd72a0f86 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -458,7 +458,8 @@ def launch_cluster(conn, opts, cluster_name): placement=opts.zone, min_count=1, max_count=1, - block_device_map=block_map) + block_device_map=block_map, + user_data=user_data_content) master_nodes = master_res.instances print "Launched master in %s, regid = %s" % (zone, master_res.id) -- cgit v1.2.3