summaryrefslogtreecommitdiffstats
path: root/config/whirr-cassandra.properties
diff options
context:
space:
mode:
Diffstat (limited to 'config/whirr-cassandra.properties')
-rw-r--r--config/whirr-cassandra.properties28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/whirr-cassandra.properties b/config/whirr-cassandra.properties
new file mode 100644
index 0000000..3b87869
--- /dev/null
+++ b/config/whirr-cassandra.properties
@@ -0,0 +1,28 @@
+# A Whirr Receipe for Cassandra + Hadoop
+# Read the Configuration Guide for more info:
+# http://whirr.apache.org/docs/latest/configuration-guide.html
+
+# Change the cluster name here
+whirr.cluster-name=cassandra-hadoop
+
+# Change the number of machines in the cluster here
+whirr.instance-templates=1 zookeeper+hadoop-namenode+hadoop-jobtracker,3 hadoop-datanode+hadoop-tasktracker+cassandra
+
+# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
+whirr.provider=aws-ec2
+whirr.identity=${env:AWS_ACCESS_KEY_ID}
+whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
+whirr.cluster-user=ec2-user
+
+# The size of the instance to use. See http://aws.amazon.com/ec2/instance-types/
+whirr.hardware-id=m1.large
+whirr.location-id=us-east-1
+
+# By default use the user system SSH keys. Override them here.
+# whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
+# whirr.public-key-file=${whirr.private-key-file}.pub
+
+whirr.cassandra.version.major=1.2.0
+whirr.cassandra.tarball.url=http://archive.apache.org/dist/cassandra/1.2.0/apache-cassandra-1.2.0-bin.tar.gz
+# whirr.cassandra.tarball.url=http://archive.apache.org/dist/cassandra/1.1.3/apache-cassandra-1.1.3-bin.tar.gz
+whirr.hadoop.tarball.url=http://archive.apache.org/dist/hadoop/core/hadoop-1.0.3/hadoop-1.0.3.tar.gz