diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index 0ba5335bba1558f4f1d9c31cf06cce388c864395..42e4fe944205e2f4a75e0f93a938ee1eacc64640 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -376,9 +376,10 @@ def setup_cluster(conn, master_nodes, slave_nodes, zoo_nodes, opts, deploy_ssh_k
     ssh(master, opts, 'chmod 600 ~/.ssh/id_rsa')
 
   if opts.cluster_type == "mesos":
-    modules = ['ephemeral-hdfs', 'persistent-hdfs', 'mesos']
+    modules = ['ephemeral-hdfs', 'persistent-hdfs', 'mapreduce', 'mesos']
   elif opts.cluster_type == "standalone":
-    modules = ['ephemeral-hdfs', 'persistent-hdfs', 'spark-standalone']
+    modules = ['ephemeral-hdfs', 'persistent-hdfs', 'mapreduce', 
+               'spark-standalone']
 
   if opts.ganglia:
     modules.append('ganglia')