Skip to content

Commit

Permalink
Don't install MapReduce for Hadoop1
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Jul 30, 2013
1 parent 31b3c1d commit 893aaff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ec2/spark_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ def setup_cluster(conn, master_nodes, slave_nodes, opts, deploy_ssh_key):
modules = ['spark', 'shark', 'ephemeral-hdfs', 'persistent-hdfs',
'mapreduce', 'spark-standalone']

if opts.hadoop_major_version == "1":
modules = filter(lambda x: x != "mapreduce", modules)

if opts.ganglia:
modules.append('ganglia')

Expand Down

0 comments on commit 893aaff

Please sign in to comment.