Skip to content

Instantly share code, notes, and snippets.

@SwathiMystery
Created February 11, 2013 11:50
Show Gist options
  • Save SwathiMystery/4754048 to your computer and use it in GitHub Desktop.
Save SwathiMystery/4754048 to your computer and use it in GitHub Desktop.
## Cluster name goes here.
whirr.cluster-name=yarncluster
# Change the number of machines in the cluster here
whirr.instance-templates=1 hadoop-namenode+yarn-resourcemanager+mapreduce-historyserver,2 hadoop-datanode+yarn-nodemanager
# Install JAVA
whirr.java.install-function=install_openjdk
whirr.java.install-function=install_oab_java
## Install CDH4 Yarn
whirr.hadoop.install-function=install_cdh_hadoop
whirr.hadoop.configure-function=configure_cdh_hadoop
whirr.yarn.configure-function=configure_cdh_yarn
whirr.yarn.start-function=start_cdh_yarn
whirr.mr_jobhistory.start-function=start_cdh_mr_jobhistory
whirr.env.REPO=cdh4
whirr.env.MAPREDUCE_VERSION=2
# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
whirr.provider=aws-ec2
whirr.hardware-id=c1.xlarge
# Credentials should go here
whirr.identity=XXXXXXXXXXXXXXXXX
whirr.credential=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
whirr.cluster-user=whirr
whirr.private-key-file=/home/ubuntu/.ssh/yourKey
whirr.public-key-file=/home/ubuntu/.ssh/yourKey.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment