Skip to content

Instantly share code, notes, and snippets.

@mvaz
Forked from bigsnarfdude/gist:c43da4819a750ec9dc92
Last active August 29, 2015 14:20
Show Gist options
  • Save mvaz/ff4ab2fc4495b89ddf53 to your computer and use it in GitHub Desktop.
Save mvaz/ff4ab2fc4495b89ddf53 to your computer and use it in GitHub Desktop.
./elastic-mapreduce --create --alive \
--name "Hive cluster" \
--hive-interactive --hive-versions latest \
--hive-site=s3://${s3bucket}/emr/conf/hive-site.xml \
--ami-version latest \
--availability-zone us-east-1d --log-uri s3n://york-emr-logs \
--instance-group master --instance-type m1.medium --instance-count 1 --bid-price 0.175 \
--instance-group core --instance-type m1.large --instance-count 3 --bid-price 0.35 \
--enable-debugging --log-uri s3n://${s3bucket}/emr/logs \
--bootstrap-action s3://elasticmapreduce/bootstrap-actions/run-if \
--args "instance.isMaster=true,s3://${s3bucket}/emr/conf/emr_hivemall_bootstrap.sh" --bootstrap-name "hivemall setup"
--bootstrap-action s3://elasticmapreduce/bootstrap-actions/install-ganglia --bootstrap-name "install ganglia"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment